| SitePoint Sponsor |


I agree. No, that code isn't bloated. I think the problem may lie with using a framework (badly) rather than with ASP.NET specifically. I had just noticed with other ASP.NET powered sites, that the CSS class names were all unnecessarily long, which does add up to quite a lot of bloat, especially on larger pages.

LinkButton and HtmlButton
More info at http://msdn.microsoft.com/en-us/libr...2a(VS.71).aspx



If that bothers you so much, then use a regular asp:Button control for form submissions, and hyperlinks for linking to other resources. You know, their intended purpose.
Neither of the controls you mentioned require cookies either.
Cheers,
D.

Doesn't bother me at all, because I don't use ASP.NET and don't plan on it.
Cheers,
J



Then you should probably refrain from commenting on it. There's enough misinformation going around already.
Cheers,
D.



Even in 3.5, the LinkButton uses JavaScript to run the __doPostBack function. There's not many options outside of client scripting to send POST data to the server via an anchor tag.
But it doesn't even come close to justifying the original blanket statement that ASP.NET relies on JavaScript and cookies.
Cheers,
D.
Bookmarks