aspnet-devexpress-dot-web-dot-aspxverticalgrid-14eb0645.md
Occurs when a custom command button has been clicked.
Namespace : DevExpress.Web
Assembly : DevExpress.Web.v25.2.dll
NuGet Package : DevExpress.Web
public event ASPxVerticalGridCustomButtonCallbackEventHandler CustomButtonCallback
Public Event CustomButtonCallback As ASPxVerticalGridCustomButtonCallbackEventHandler
The CustomButtonCallback event's data class is ASPxVerticalGridCustomButtonCallbackEventArgs. The following properties provide information specific to this event:
| Property | Description |
|---|---|
| ButtonID | Gets a value that identifies the clicked custom button. Inherited from ASPxGridCustomButtonCallbackEventArgs. |
| VisibleIndex | Gets the index of a data item (row, card or record) that contains the custom button currently being clicked. Inherited from ASPxGridCustomButtonCallbackEventArgs. |
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