Hi,

I'm writing my first ASP.NET site and attempting to meet the XHTML Transitional 1.0 standards. All is fine, until I use Validator controls on a page. These controls insert a script into the page using <script language="javascript"> - unfortunately, the XHTML validator at validator.w3.org complains that it isn't valid XHTML (it needs a "type" attribute).

In addition, I have a dropdownlist control with an onChange event handler. ASP.NET inserts a "__doPostBack" as expected, but it also inserts the 'language="javascript"' attribute too - again this is invalid (giving the error "there is no attribute "language" for this element").

Is there any way at all of changing this - obviously I can't just edit it directly as these elements are generated by the server, but I didn't know if there might be a configuration setting which overrides this? Or are ASP.NET pages (at least, Beta 2 ASP.NET pages) destined to fail to meet the XHTML 1.0 standard?

Thanks in advance for any help/advice you can offer.