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.
3 thoughts on “Use JQuery to clean up ASP.NET Web Forms markup”
Comments are closed.
Is there more to this article? A podcast or something more elaborate? Thanks.
Can you give some example? Please.