K
Kersh
I'm trying to implement XHTML standards in my ASP.NET web pages but
whenever I use web controls I get problems because of the very strict
nature of W3C XHTML (transitional version is picky but strict1.1 very
severe!)
e.g. align="Center" fails validation because of the capital "C" - this
makes asp:Calendar control unuseable because it happens to use this
tag for each of the cells. Also Javascript tags require a 'type'
attribute...etc
My question is - is there a generic event that would allow me to
'intercept' the rendered html and manipulate it so these standards can
be met?
P.S. I admit that the best answer would be for Microsoft to include
DTD selection options for the HTML produced from web forms pages.
Visual Studio 2002 only allows HTML 4.0 Transitional and that's what
I'm using - can't say I'm not (very) disappointed either.
Microsoft staff please take note! I work for the UK government and
XHTML forms part of their e-government standards. There is a lot of
business to be gained by making XHTML output part of ASP.NET - think
accessibiity - all for the sake of a few inconsistencies in case
etc...
whenever I use web controls I get problems because of the very strict
nature of W3C XHTML (transitional version is picky but strict1.1 very
severe!)
e.g. align="Center" fails validation because of the capital "C" - this
makes asp:Calendar control unuseable because it happens to use this
tag for each of the cells. Also Javascript tags require a 'type'
attribute...etc
My question is - is there a generic event that would allow me to
'intercept' the rendered html and manipulate it so these standards can
be met?
P.S. I admit that the best answer would be for Microsoft to include
DTD selection options for the HTML produced from web forms pages.
Visual Studio 2002 only allows HTML 4.0 Transitional and that's what
I'm using - can't say I'm not (very) disappointed either.
Microsoft staff please take note! I work for the UK government and
XHTML forms part of their e-government standards. There is a lot of
business to be gained by making XHTML output part of ASP.NET - think
accessibiity - all for the sake of a few inconsistencies in case
etc...