ASP.NET: Modify WebControl on Render

protected override void Render(HtmlTextWriter writer){    if (this.StopProcessing)    {        base.Render(writer);    }    else    {        System.Text.StringBuilder sb = new System.Text.StringBuilder();        Html32TextWriter mwriter = new Html32TextWriter(new System.IO.StringWriter(sb));        base.Render(mwriter);        string content = sb.ToString();        content = ParseLinks(content);        writer.Write(content);    }}

Leave a Reply

Your email address will not be published. Required fields are marked *