Skip to main content

ASPxClientTreeList.CustomButtonClick Event

Occurs when a custom command button has been clicked.

Declaration

CustomButtonClick: ASPxClientEvent<ASPxClientTreeListCustomButtonEventHandler<ASPxClientTreeList>>

Event Data

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

Property Description
buttonID Gets the value which identifies the custom button.
buttonIndex Gets the button’s index.
nodeKey Gets the key value of the node whose custom button has been clicked.
processOnServer Specifies whether or not to process the event on the server. Inherited from ASPxClientProcessingModeEventArgs.

Remarks

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

The event parameter’s ASPxClientTreeListCustomButtonEventArgs.buttonIndex property allows you to identify a button currently being clicked.

See Also