Skip to main content
A newer version of this page is available. .
Tab

ASPxWebControl.Enabled Property

Gets or sets a value that indicates whether a web control is enabled, allowing it to respond to end-user interactions.

Namespace: DevExpress.Web

Assembly: DevExpress.Web.v21.2.dll

NuGet Package: DevExpress.Web

Declaration

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

Property Value

Type Default Description
Boolean true

true if a web control is enabled; otherwise, false.

Remarks

When the Enabled property is set to false, a web control doesn’t respond to end-user interactions.

In this case, client-side functionality is completely disabled, so an editor cannot be controlled on the client-side for any browsers except for Internet Explorer. Scripts are still required for Internet Explorer to finally adjust the editor’s size on the client.

If you want to drive an editor on the client side, use its ASPxEditBase.ClientEnabled property, rather than the Enabled property.

See Also