PDA

View Full Version : Setting content type to application/xhtml+xml breaks LoginStatus control


jamesgurung
07-08-2007, 12:02 PM
I am posting with regard to www.bodeites.com (http://www.bodeites.com). At the top of every page there is a LoginStatus control giving the option to sign in or out of the site. It has always worked fine, but today I modified global.asax to serve Firefox (and other compatible browsers) the content type 'application/xhtml+xml'. This comes as part of my attempt to make the site XHTML 1.1 compatible. Now the 'Login' link at the top of the page (which is generated by the LoginStatus control) no longer does anything when clicked.

If I comment out the lines I added in global.asax, full functionality returns. Also the link works fine in Internet Explorer, probably because it is still served 'text/html'.

Is there any way I can fix this?

bruce
07-10-2007, 01:39 AM
I don't think you can fix this. This is how it should work.


Bruce

DiscountASP.NET
www.DiscountASP.NET (http://www.DiscountASP.NET)

jamesgurung
07-10-2007, 08:31 AM
Okay, thanks. That's good to know.