ASPxWebControl.GlobalAccessibilityCompliant Property
Gets or sets whether accessibility support is globally enabled for all DevExpress web controls across the web page or the entire web site.
Namespace: DevExpress.Web
Assembly: DevExpress.Web.v24.1.dll
NuGet Package: DevExpress.Web
Declaration
Property Value
Type | Description |
---|---|
Boolean |
|
Remarks
Use the GlobalAccessibilityCompliant property to specify whether accessibility support is globally enabled for all DevExpress web controls across the web page or the entire web site. If the GlobalAccessibilityCompliant property is not specified, it returns the accessibilityCompliant Web.config option value.
Depending on your application needs, you can use the GlobalAccessibilityCompliant property at different levels within your application. The main requirement is that the property should be explicitly assigned on executing each request.
Page Level
protected void Page_PreInit(object sender, EventArgs e){ DevExpress.Web.ASPxWebControl.GlobalAccessibilityCompliant = true; }
Application Level - in Global.asax
protected void Application_PreRequestHandlerExecute(object sender, EventArgs e) { DevExpress.Web.ASPxWebControl.GlobalAccessibilityCompliant = true; }