public override void Render(System.Web.UI.HtmlTextWriter writer) { StringBuilder sb = new StringBuilder(); HtmlTextWriter htw = new HtmlTextWriter(new StringWriter(sb)); base.Render(htw); string html = sb.ToString(); /// /// Example /// html.Replace("<b>", "<strong>"); html.Replace("</b>", "</strong>"); /// /// Insert the meta tags /// Insert webtrends meta tags /// Move hidden system inserted fields /// Move viewstate /// Perform SEO checks /// And finally, write the HTML to original writer writer.Write(html); }
Friday, May 23, 2008
How to get generated html of a page and change it.
Subscribe to:
Post Comments (Atom)
Azure Storage Account Types
Defferent Types of Blobs Block blobs store text and binary data. Block blobs are made up of blocks of data that can be managed individually...
-
Why we need asynchronous tasks? Execute a time consuming operations in parallel to the CLR thread which execute the request If you have ...
-
Demo: I was thinking a way to show images before actually uploading them to server. I would say to preview images using javascript. Obv...
No comments:
Post a Comment