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

Document Type Mode

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

Declaration:

<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