Manipulating HTML from the asp.net code-behind
<p>I am able to get the HTML from the code-behind, like this one:</p>

<pre><code>protected override void OnPreRenderComplete(EventArgs e)
{
    StringWriter sw = new StringWriter();
    base.Render(new HtmlTextWriter(sw));
    sbHtml = sw.GetStringBuilder();
    Response.Write(sbHtml + "&lt;!-- processed by code-behind --&gt;");
}
</code></pre>

<p>But I need to remove the HTML from the Page, any help?</p>
