Back to Devexpress

ASPxVerticalGrid.CustomButtonCallback Event

aspnet-devexpress-dot-web-dot-aspxverticalgrid-14eb0645.md

latest2.2 KB
Original Source

ASPxVerticalGrid.CustomButtonCallback Event

Occurs when a custom command button has been clicked.

Namespace : DevExpress.Web

Assembly : DevExpress.Web.v25.2.dll

NuGet Package : DevExpress.Web

Declaration

csharp
public event ASPxVerticalGridCustomButtonCallbackEventHandler CustomButtonCallback
vb
Public Event CustomButtonCallback As ASPxVerticalGridCustomButtonCallbackEventHandler

Event Data

The CustomButtonCallback event's data class is ASPxVerticalGridCustomButtonCallbackEventArgs. The following properties provide information specific to this event:

PropertyDescription
ButtonIDGets a value that identifies the clicked custom button. Inherited from ASPxGridCustomButtonCallbackEventArgs.
VisibleIndexGets the index of a data item (row, card or record) that contains the custom button currently being clicked. Inherited from ASPxGridCustomButtonCallbackEventArgs.

Remarks

Handle the CustomButtonCallback event to define an action for a custom button.

The event parameter’s ASPxGridCustomButtonCallbackEventArgs.ButtonID property allows you to identify the button currently being clicked.

See Also

Vertical Grid

ASPxVerticalGrid Class

ASPxVerticalGrid Members

DevExpress.Web Namespace