Skip to main content
A newer version of this page is available. .

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.v18.2, Version=18.2.3.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 (18.2 or 18.2.3.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: