Skip to main content
Tab

ASPxButton.ClientEnabled Property

Gets or sets a value that indicates whether the button is enabled on the client.

Namespace: DevExpress.Web

Assembly: DevExpress.Web.v22.2.dll

NuGet Package: DevExpress.Web

Declaration

[DefaultValue(true)]
public bool ClientEnabled { get; set; }

Property Value

Type Default Description
Boolean true

true if the button is enabled; otherwise, false.

Remarks

Use the ClientEnabled property to specify a button control’s ability to respond to end-user interactions, such as mouse hovering or clicks. A button’s availability state, defined by this property, can then be dynamically changed on the client side using the ASPxClientButton.SetEnabled method.

Note

The ClientEnabled property is not in effect if the button is disabled on the server side by using server Enabled property.

View Example: How to disable a button after the first click

See Also