fyi .. .Net's Webcontrols do not generate proper XHTML tags.
-
This is agrivating and I thought about posting it in the Soapbox forum because this is more of a rant; but the standard Web Controls don't generate proper XHTML and this sux. I guess, you're asking how should it, you never told it you wanted XHTML. But that is just the point. Some of us take pride in producing very specific code even if it is HTML. And the use of Web Controls is limiting this a bit. Case in point for those who are intrested: DataGrid, HeaderStyle has an attribute horizontalalign which I would like to set to center. It changes it to Center. Not much I understand but there is a difference. It's not to spec. They that can give up essential liberty to purchase a little temporary safety deserve neither liberty or safety. --Benjamin Franklin
-
This is agrivating and I thought about posting it in the Soapbox forum because this is more of a rant; but the standard Web Controls don't generate proper XHTML and this sux. I guess, you're asking how should it, you never told it you wanted XHTML. But that is just the point. Some of us take pride in producing very specific code even if it is HTML. And the use of Web Controls is limiting this a bit. Case in point for those who are intrested: DataGrid, HeaderStyle has an attribute horizontalalign which I would like to set to center. It changes it to Center. Not much I understand but there is a difference. It's not to spec. They that can give up essential liberty to purchase a little temporary safety deserve neither liberty or safety. --Benjamin Franklin
Talk to Paul Watson about this - it's a pet peeve of his as well. IMO the HTML generated by the Web Controls is appalling. cheers, Chris Maunder
-
This is agrivating and I thought about posting it in the Soapbox forum because this is more of a rant; but the standard Web Controls don't generate proper XHTML and this sux. I guess, you're asking how should it, you never told it you wanted XHTML. But that is just the point. Some of us take pride in producing very specific code even if it is HTML. And the use of Web Controls is limiting this a bit. Case in point for those who are intrested: DataGrid, HeaderStyle has an attribute horizontalalign which I would like to set to center. It changes it to Center. Not much I understand but there is a difference. It's not to spec. They that can give up essential liberty to purchase a little temporary safety deserve neither liberty or safety. --Benjamin Franklin
Paul Menefee wrote: And the use of Web Controls is limiting this a bit. As Chris said, a pet peeve of mine. In fact I have yet to use a single .NET Web Control for a public web site project. I use them for back-end admin suites etc. where code purity is not such an issue, but even there I cringe when I see the crap .NET generates. I do not actually know what MS was thinking. They could have even have just generated good HTML 4.01 and I would have been happy (at least then it would have been simple to change it to XHTML compliant.) I still have not tried but you can "re-write" the HTML that web controls generate. So I am sure in the near future someone is going to release a slew of XHTML compliant .NET Web Controls. Even so, web controls IMO are not ready for prime time. They require too much server round-tripping and many of their great features means allowing wads of hidden elements on your page filled with paragraphs of data, hardly condusive to fast web applications. And don't get me started on VS.NET and it's "helpful" HTML features. I still do not know how to turn off that annoying "feature" where when you paste some HTML it inserts IDs into all the elements. I use ASP.NET solely for the access to "proper" languages, not for the web controls or postback features etc.
Paul Watson
Bluegrass
Cape Town, South Africa