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!
1 Answer
Know the answer? Post it. Somebody with the same question will find it here.

sacrespRank #1,944 · 754 reputationPosted May 10, 2004, 11:44 PM EDT