samanta

samanta

  • NA
  • 429
  • 135.6k

Html Content in Page PreRender Event

Feb 27 2018 4:06 AM
Hi,
 
Is it posible to fetch all html content in page PreRender event? 
 
code:
protected virtual void Page_PreRender(object sender, EventArgs e)
{
getHtmlData(this.Page) 
 
private static string getHtmlData(Control ctrl) 
{
foreach (Control child in ctrl.Controls)
{
  // code to fetch all html content

Answers (1)