Going Crazy. Almost giving up of ASP.NET!

S

shapper

Hello,

For the past month I have been spending most of my time going around
ASP.NET rendering problems!

For example, since when a disabled check box should be rendered the
following way:

<span disabled="disabled">
<input id="CheckBox1" name="CheckBox1" disabled="disabled"
type="checkbox">
</span>

There is no disabled attribute for span!

And I could give many more examples. How can I go around this?

Every day that passes I am closing to move to Ruby On Rails ... after
using ASP.NET since the first version!

Why does not Microsoft spend sometime working on rendering HTML
following the W3C rules.

ASP.NET just invent attributes that does not exist!!!!!!!!!!!

How can Microsoft Developers are able to accomplish these things?!

Anyway, is there a way to go around the CheckBox problem?

Thanks,

Miguel
 
B

bruce barker

if xhtml conformance is important, use the html controls instead of the
abstract ui controls. then you can control the attributes.

-- bruce (sqlwork.com)
 
A

AG

I've noticed that <span disabled="disabled"> tag also. You can get around it
by using an html checkbox with runat="server" attribute and the extra tag
will not be generated. I just tried it in a gridview.
FWIW, I agree. MS should clean up their html.
 

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,770
Messages
2,569,586
Members
45,088
Latest member
JeremyMedl

Latest Threads

Top