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="Bootstrap4" 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: