DevExpress ASP.NET controls can now be rendered in Html5 document type compliance mode.
We have implemented the new DoctypeMode configuration option that specifies a document type according to which DevExpress controls will be rendered.
Two modes are available:
- Xhtml (default value) – use this mode with the <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> page doctype declaration.
- Html5 – use this mode with the <!DOCTYPE html> page doctype declaration.
You can specify the DoctypeMode property manually in the Web.Config file.
XML<configuration>
...
<devExpress>
...
<settings doctypeMode="Html5" />
...
</devExpress>
...
</configuration>
Or you can use the DevExpress Project Wizard (the DX Control Settings tab, Doctype Mode combo box) to specify the required property value.