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

ASP.NET Team Blog
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

Why?

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:

ASP.NET MVC 2 - XHTML Strict

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">

ASP.NET MVC 3 - HTML5

<!DOCTYPE HTML>

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: http://mvc.devexpress.com

Read the latest news about DevExpress ASP.NET MVC Extensions

VS 2010 1st Bday

Download a free and fully-functional version of DXperience now: http://www.devexpress.com/Downloads/NET/

Follow MehulHarry on Twitter

Free DevExpress Products - Get Your Copy Today

The following free DevExpress product offers remain available. Should you have any questions about the free offers below, please submit a ticket via the DevExpress Support Center at your convenience. We'll be happy to follow-up.
No Comments

Please login or register to post comments.