How to modify raw HTML of ASP.NET page on PreRender?
- by ace
I want to access the raw HTML code that my ASP.NET System.Web.UI.Page is about to render.
How can i do that? Is there a property or method like System.Web.UI.Page.HTML or something like that.
I know I could loop through the Controls List of the page and get access to all the Literal Controls etc, but I was wondering if there's a direct property or method that can return me the raw html, which I can modify just before rendering the page.