Back to Devexpress

Document Type Mode

aspnet-15153-common-concepts-webconfig-modifications-webconfig-options-document-type-mode.md

latest909 B
Original Source

Document Type Mode

  • Aug 01, 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

In order to use the DevExpress Web.config section, register this section group beforehand.

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