ASP.Net Final Rendering Page Event
问题 Perhaps my previous question on output caching output caching was too complex. Let's simplify. How can I get the final, "ready for sending" rendered HTML from a page (or control) event in ASP.Net? I assume that this will be the same content that will be used for the output cache, so could be queried to find out what is about to be placed into the cache. 回答1: Code copied from: http://aspcode.net/Last-second-HTML-changes-in-your-ASPNET-page.aspx protected override void Render(HtmlTextWriter