ASPxClientVerticalGrid.CustomButtonClick Event
Occurs when a custom command button has been clicked.
Declaration
CustomButtonClick: ASPxClientEvent<ASPxClientVerticalGridCustomButtonEventHandler<ASPxClientVerticalGrid>>
Event Data
The CustomButtonClick event's data class is ASPxClientVerticalGridCustomButtonEventArgs. The following properties provide information specific to this event:
Property | Description |
---|---|
buttonID | Gets the value which identifies the custom button. |
processOnServer | Specifies whether or not to process the event on the server. Inherited from ASPxClientProcessingModeEventArgs. |
visibleIndex | Gets the value which identifies the record whose custom button has been clicked. |
Remarks
Handle the CustomButtonClick event to define an action for a custom button.
The event parameter’s ASPxClientVerticalGridCustomButtonEventArgs.buttonID property allows you to identify the button currently being clicked.
If the ASPxClientProcessingModeEventArgs.processOnServer property is set to true
, the ASPxVerticalGrid.CustomButtonCallback event is raised, which allows you to perform server-side event processing.
See Also