Web.Config Options
A DevExpress section is automatically created within the Web.Config file when any DevExpress web control is added in Visual Studio from the Toolbox to the Design area. This section lists all available default DevExpress options, which allow you to control various features.
The following code demonstrates the default registration of this section in Web.Config:
<configSections>
<sectionGroup name="devExpress">
<!--........-->
<section name="bootstrap" type="DevExpress.Web.Bootstrap.BootstrapConfigurationSection, DevExpress.Web.Bootstrap.v20.1, Version=20.1.2.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a" requirePermission="false" />
</sectionGroup>
</configSections>
<!--........-->
<devExpress>
<bootstrap mode="Bootstrap5" iconSet="Embedded" />
<resources>
<add type="ThirdParty" />
<add type="DevExtreme" />
</resources>
<compression enableHtmlCompression="false" enableCallbackCompression="true" enableResourceCompression="true" enableResourceMerging="true" />
<settings accessibilityCompliant="true" doctypeMode="Html5" rightToLeft="false" checkReferencesToExternalScripts="true" protectControlState="true" ieCompatibilityVersion="edge" />
<errors callbackErrorRedirectUrl="" />
</devExpress>
Note
The version numbers mentioned in this document (20.1 or 20.1.2.0) and the public key token (b88d1754d700e49a) may differ, depending on the product version you purchased.
The following DevExpress options are available within a web project’s Web.Config file:
- Accessibility Compliant
- Bootstrap Framework Version
- Callback Compression
- Callback State Protection
- Check References To External Scripts
- Defer Client Object Initialization
- Document Type Mode
- Embedding Third-Party Libraries
- Icon Set
- IE Compatibility Version
- Page HTML Compression
- Redirection on a Callback Error
- Resource Compression
- Resource Merging