Occurs when the ASPxButton control is clicked.
The Command event's data class is CommandEventArgs. The following properties provide information specific to this event:
|CommandArgument||Gets the argument for the command.|
|CommandName||Gets the name of the command.|
The Command event is raised when the ASPxButton control is clicked. This event is commonly used when a command name, such as Sort, is associated with the ASPxButton control via the ASPxButton.CommandName property. This allows you to create multiple ASPxButton controls on a web page and programmatically determine which ASPxButton control is clicked.
Note that the specificity of the Command event is that it is raised through the control hierarchy in the form of the BubbleEvent.