Back to Devexpress

ASPxWebControl.Enabled Property

aspnet-devexpress-dot-web-dot-aspxwebcontrol-ba09c3ee.md

latest1.5 KB
Original Source

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.v25.2.dll

NuGet Package : DevExpress.Web

Declaration

csharp
[DefaultValue(true)]
public override bool Enabled { get; set; }
vb
<DefaultValue(True)>
Public Overrides Property Enabled As Boolean

Property Value

TypeDefaultDescription
Booleantrue

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

ASPxWebControl Class

ASPxWebControl Members

DevExpress.Web Namespace