Example #1
0
            protected override void OnInit(EventArgs e)
            {
                base.OnInit(e);

                using (var sw = new StringWriter())
                {
                    renderer.Render(context, sw);
                    renderedContent = sw.ToString();
                }
            }
Example #2
0
 protected override void Render(HtmlTextWriter writer)
 {
     renderer.Render(context, writer);
 }