Thursday, September 4, 2008

Problem faced with xhtmlConformance mode="Legacy" Tag

I faced a typical problem in my ongoing project.. where the menu was not rendering properly..It was rendering like shown below...




The problem was that the web.config file contained a tag named as :

xhtmlConformance mode="Legacy"


This tag was supported in ASP.NET 1.0/1.1 only...
Read the solution here...
http://weblogs.asp.net/scottgu/archive/2006/12/10/gotcha-don-t-use-xhtmlconformance-mode-legacy-with-asp-net-ajax.aspx

At last the problem is solved...

Thanks,
Nitin Sharma
Software Engineer
.Net Technologies