asp.net creates html that does not validate?

B

bruce barker

there is no easy way, as MS would have to change their code. you can avoid
controls in controls, or write modules that modify the ids.

-- bruce (sqlqwork.com)
 
S

Steven Cheng[MSFT]

Hi Stephane,


Thanks for posting in the community!
From your description, you found that the html source generate by the
ASP.NET web server control are not completely
validating according to the W3C's markup validating service. Also, you're
wondering some approaches to manually adjust it, yes?
If there is anything I misunderstood, please feel free to let me know.

I've tested throught the validating service's link you provided. Yes, there
does exists some certain issues with the html source generated by the
ASP.NET web server controls. As for how to manually adjust this, I think
here is some possible approachs:
1. Create some custom controls derived from the buildin web server controls
and manually adjust the rendered output html then output as the custom
control's output. However, this will cause a large amount of works , do you
think so?

2. Since the Asp.net server controls suffer this problem, have you tried
using the HtmlControls? Since the html controls are just html elment based
and you can adjust the their source in the page's html source and the final
output won't be changed a lot from the static html.

In addtion, I think the XHTML controls Ken Cox has provided maybe also
helpful to you.
http://www.asp.net/ControlGallery/ControlDetail.aspx?Control=1868&tabindex=2

Please check out the suggestions. If you have any further problems or need
any assistance, please feel free to post here.


Regards,

Steven Cheng
Microsoft Online Support

Get Secure! www.microsoft.com/security
(This posting is provided "AS IS", with no warranties, and confers no
rights.)
 
S

Steven Cheng[MSFT]

Hi Stephane,


Have you had a chance to check out the suggestions in my last reply or have
you got any further ideas on this issue? If you need any assistance, please
feel free to post here.


Regards,

Steven Cheng
Microsoft Online Support

Get Secure! www.microsoft.com/security
(This posting is provided "AS IS", with no warranties, and confers no
rights.)
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,769
Messages
2,569,579
Members
45,053
Latest member
BrodieSola

Latest Threads

Top