ASPxClientTreeList.CustomButtonClick Event
In This Article
Occurs when a custom command button has been clicked.
#Declaration
TypeScript
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 |
---|---|
button |
Gets the value which identifies the custom button. |
button |
Gets the button’s index. |
node |
Gets the key value of the node whose custom button has been clicked. |
process |
Specifies whether or not to process the event on the server.
Inherited from ASPx |
#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