HTML5 and XHTML Strict - New Doctypes Supported for ASP.NET Products (available now in v2011.1)

13 April 2011

DevExpress ASP.NET & HTML 5

Have you been using or experimenting with HTML5? You may have run into issues trying to use DevExpress controls in HTML5 documents because of doctype conflicts. We're happy to announce that these issues will be fixed in DXperience v2011 volume 1 release and you'll be able to use DevExpress ASP.NET controls in most HTML5 documents. And the support is cross browser so you can do it with Microsoft Internet Explorer 6.0+, Mozilla FireFox 2.0+, Google Chrome 1.0+, Apple Safari 3.0+, Opera 9.0+ and Netscape Navigator 9.0+ are fully supported.

Here are the technical details in case that you can take advantage of now with the DXperience v2011 volume 1 release:

The HTML5 and XHTML Strict standards support by DevExpress ASP.NET means that you'll have a choice of using 3 different doctype declarations:

  • XHTML 1.0 Transitional - Current
  • XHTML 1.0 Strict - v2011.1
  • HTML5 !!! - v2011.1


Several of you, our customers, had requested support for the XHTML Strict standard because of your project requirements.

So at our annual roadmap meeting in December 2010, we, the DevExpress ASP.NET team decided to add the HTML5 standard because HTML5 is the future!

Note: The code generated by DevExpress ASP.NET controls will be valid XHTML 1.0 Transitional and it will work just fine in the other doctypes. However, please note that if your doc is another doctype like HTML5, etc. the controls will work but if you check it with an HTML validator you'll probably see warnings due to the doctype conflict. It's nothing to worry about but we wanted to be clear.

MVC Project Templates - New Doctype(s)

For v2011 volume 1, we've updated our ASP.NET MVC DevExpress Project Templates to support:


<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "">



These doctypes match Microsoft's ASP.NET MVC Web Application Templates.

Cross-Browser Support

The DevExpress ASP.NET controls are already cross-browser compliant because they support the XHTML 1.0 Transitional standard. This means that you can use DevExpress ASP.NET controls with these popular browsers:

Microsoft Internet Explorer 6.0+, Mozilla FireFox 2.0+, Google Chrome 1.0+, Apple Safari 3.0+, Opera 9.0+ and Netscape Navigator 9.0+ are fully supported.


This announcement has me very excited, what about you?

Drop me a line below with your thoughts about the upcoming HTML5 and XHTML Strict support in DXperience ASP.NET v2011 volume 1. Thanks.

Build Your Best - Without Limits or Compromise

Try the DevExpress ASP.NET MVC Extensions online now:

Read the latest news about DevExpress ASP.NET MVC Extensions

VS 2010 1st Bday

Download a free and fully-functional version of DXperience now:

Follow MehulHarry on Twitter

8 comment(s)
Leigh Bowers

Sorry, but I'm confused by the "Note" statement.

13 April, 2011
Mehul Harry (DevExpress)


Thanks and sorry because I wasn't clear enough. I've updated the post and note section.

Also, the topic can be confusing, email me if you have other concerns.

This is a great read for HTML5:


13 April, 2011
Leigh Bowers

Ah. I see. Thanks for the clarification.

14 April, 2011
Defacto Software

Do you mean only the ASP.NET MVC extensions get xhtml1 strict and html5 support, but the rest of ASP.NET Ajax controls don't?

26 May, 2011
Mehul Harry (DevExpress)

M. Brekhof,

The HTML 5 and XHTML Strict is supported by both. But we only have project templates for MVC.


26 May, 2011
Fergal Moran

Hi Mehul

Do you have any idea when or if the controls will ever fully validate as HTML5?


12 January, 2012
Mehul Harry (DevExpress)


Well.. HTML 5 is designed to be backwards compatible:

That said, we're always looking to improve our products when it makes sense. So, will we improve and take advantage of HTML 5, yes. :)


12 January, 2012
Fergal Moran

Hi Mehul

Thanks for that...

I just like the warm fuzzy feeling when my sites validate 100%


13 January, 2012

Please login or register to post comments.