Back to Devexpress

Document Type Mode

aspnetbootstrap-120360-project-configuration-web-config-options-document-type-mode.md

latest907 B
Original Source

Document Type Mode

  • May 17, 2019

This option specifies the document type. DevExpress controls will be rendered according to this type.

Declaration:

xml
<configuration>
    ...
    <devExpress>
        ...
        <settings doctypeMode="Html5" />
        ...
    </devExpress>
    ...
</configuration>

Note

You should register the DevExpress Web.config section to apply these settings to your project.

This option is set to “Html5” by default.

Note

The doctypeMode option in the web.config file and the page’s DOCTYPE should be set to the same document type definition (XHTML or HTML5).

DevExpress configuration section

Corresponding Class

SettingsConfigurationSection