protected override void Render(HtmlTextWriter writer)
{
System.Text.StringBuilder sb = new System.Text.StringBuilder();
System.IO.StringWriter sw = new System.IO.StringWriter(sb);
HtmlTextWriter htmlWriter = new HtmlTextWriter(sw);
base.Render(htmlWriter);
string pageHTML = sb.ToString();
writer.Write(pageHTML);
// do something
}
Không có nhận xét nào:
Đăng nhận xét