Click to See Complete Forum and Search --> : xhtml complient with asp controlls


zao420
05-08-2005, 12:47 AM
Hi everyone

I just started to convert my site from asp, to asp.net and one of the main thigs i noticed was when you use <asp:textbox id="txtName runat="server"> it will add name="txtName". is there a way to use this without it add the name attribute.
it seams all of the <asp:xx> controlls add the name tag, i need to beable to override this so i can have my site xhtml complient for stict.

thanks for any help with this.

memark
05-08-2005, 02:06 AM
There is also another strict problem, with the VIEWSTATE field not being contained in any block-level element.

I have found no easy solution. My best shot so far is the filter at
http://www.riderdesign.com/products/productdetails.aspx?ProductCode=xhtml_sf10

It does have some issues when it comes to non-English characters, but I've informed the developer, and he's working on it.

zao420
05-08-2005, 12:10 PM
thanks that should help me out a lot. i got most of it to validate only the form and submit button won't now. but this do the trick.