Saving the Html output of aspx page
I'm trying to get the Html output of an aspx page using webResponse.
But I'm not getting all the dynamic code that is created at the server side
(Tables..).
Here is the code:
mywebReq = WebRequest.Create(Server.MapPath("linkscreate.aspx"));
mywebResp = mywebReq.GetResponse();
sr = new StreamReader(mywebResp.GetResponseStream());
strHTML = sr.ReadToEnd();
Help!