Saturday, January 28, 2006

ASP and valid XHTML output

http://www.marktsinfoblog.blogspot.com/

Mark thristen

I hadn't realized until the other day that there are issues with ASP outputting valid XHTML strict. Apparently ASP 2.0 can do it, but 1.0 has a couple of interesting quirks that can cause issues that are rather tough to work around. Owing to time constraints, I'm considering switching our doctype to Transitional just to allow for the fact that ASP is throwing up a input of type hidden, and giving a form element a name attribute owing to our use of viewstate - a real kluge, but easier than the full-blown solution (extending the HtmlForm Control), or trying to find another way to maintain the viewstate.Ho-hum.

No comments: