1
Answer

Saving the Html output of aspx page

Photo of sunkiks

sunkiks

21y
1.6k
1
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!

Answers (1)