ASPxButton.Click Event
Fires when the button is clicked.
Namespace: DevExpress.Web
Assembly: DevExpress.Web.v20.2.dll
Declaration
Event Data
The Click event's data class is EventArgs.
Remarks
Handle the Click event to perform server-side processing of button clicks.
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.
Examples
The complete sample project is available in the DevExpress Code Central database at E493.
<script runat="server">
protected void Page_Load(object sender, EventArgs e) {
}
protected void btnOK_Click(object sender, EventArgs e) {
ASPxTextBox1.Text = ASPxTextBox2.Text;
}
</script>
...
<dxe:ASPxButton ID="btnOK" runat="server" AutoPostBack="False"
Text="OK" Width="80px" OnClick="btnOK_Click">
<ClientSideEvents Click="function(s, e) {
popupControl.Hide();
e.processOnServer = true; // do some processing at the server side
}" />
</dxe:ASPxButton>
...
Implements
See Also
Feedback