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.v18.2.dll
Declaration
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.
Related GitHub Examples
The following code snippets (auto-collected from DevExpress Examples) contain references to the Enabled 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.