Skip to main content

ButtonSettings.ClientEnabled Property

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

Namespace: DevExpress.Web.Mvc

Assembly: DevExpress.Web.Mvc5.v24.1.dll

NuGet Package: DevExpress.Web.Mvc5

Declaration

public bool ClientEnabled { get; set; }

Property Value

Type Description
Boolean

true if the button is enabled; otherwise, false.

Remarks

Use the ClientEnabled property to specify a button’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 the server Enabled (SettingsBase.Enabled) property.

See Also