Skip to main content

ASPxClientButton.Click Event

Occurs on the client side after a button is clicked.

Declaration

Click: ASPxClientEvent<ASPxClientButtonClickEventHandler<ASPxClientButton>>

Event Data

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

Property Description
cancelEventAndBubble Specifies whether both the event’s default action and the event’s bubbling upon the hierarchy of event handlers should be canceled.
processOnServer Specifies whether or not to process the event on the server. Inherited from ASPxClientProcessingModeEventArgs.

Remarks

Write a Click event handler to provide client-side response to an end-user click on a button control.

The Click event occurs when the user releases the pressed button.

Note

When some buttons are used in a group (their ASPxButton.GroupName properties are set to the same value) a click on a checked button doesn’t raise the Click event.

View Example: Add the Google reCAPTCHA tool to a project and use it with DevExpress Editors
View Example: Implement a delete confirmation dialog with a "don't ask me again" option

See Also