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 Gets or sets a value that specifies whether the event should be finally processed on the server side. 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