Skip to main content
Tab

ASPxWebControl.Enabled Property

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

Namespace: DevExpress.Web

Assembly: DevExpress.Web.v24.1.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 user interactions.

In this case, client-side functionality is completely disabled, so an editor cannot be controlled on the client-side for any browsers.

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

Important

Values of disabled inputs are not submitted.

See Also