Show theme settings Shopping cart Download trialFree Trial
Change Theme Settings
Change Theme Settings
Show All Themes


Radio buttons
Option 1
Option 2
Option 3
Client-side functionality
Disable Button

This sample demonstrates the ASPxButton's client-side support for checked and disabled states.

The checked state of the ASPxButton is initially controlled by the server Checked property, and can be changed on the client side via the SetChecked client method. To specify a group of button controls to create a mutually exclusive set of buttons, the GroupName property can be used. When this property is set, only one ASPxButton in the specified group can be checked at a time.

The availability of the ASPxButton to end-users, which is initially set via the server-side Enabled property, can dynamically be changed on the client side using the SetEnabled client method.

Local Copy of this Demo
To inspect the source code for this demo on your machine, you must first install our components via the DevExpress Component Installer.
You can open a local copy of this online demo directly from this webpage (if using v20.2.8, 21.1.4 or higher).
Open CS Solution
Open VB Solution
The source code files for this demo are installed (by default) in the following directories:
\Users\Public\Documents\DevExpress Demos XX.X\Components\ASP.NET\CS\ASPxEditorsDemos
\Users\Public\Documents\DevExpress Demos XX.X\Components\ASP.NET\VB\ASPxEditorsDemos