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.v24.1.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

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the ClientEnabled property.

Note

The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

See Also