Use JQuery to clean up ASP.NET Web Forms markup

February 9th, 2009

If you’ve done any serious Web Forms development you have almost definitely run into issues with the HTML that is generated. There’s a bunch of options for cleaning this up but one of the simplest is to use JQuery (or I suppose even pure JS if you are a masochist) to remove the offending elements and attributes client side. It’s a good compromise between the power of server controls and the need to customize the look and feel, especially when legacy applications are in play.

Jason Grundy

  • http://www.kriskrause.com Kris Krause

    Is there more to this article? A podcast or something more elaborate? Thanks.

  • http://www.arjansworld.com/2009/02/10/linkblog-for-february-10-2009/ Arjan`s World » LINKBLOG for February 10, 2009

    [...] Use JQuery to clean up ASP.NET Web Forms markup – Jason Grundy [...]

  • ppiotrowicz

    Can you give some example? Please.

blog comments powered by Disqus