Author: Jerrz | Posted on: 6/25/2009 12:03:17 PM | Views : 380

Hello,
I am trying to retrieve the HTML markup from an aspx page:
urlString= "http://mydom.com/mypage.aspx"
WebClient myClient = new WebClient();
htmlText = myClient.DownloadString(urlString);



This works fine, except the aspx menu control is not rendered correctly: if I compare the retrieved HTML with the "view source" of the actual page, the whole style section (in the head f the html) is missing and also the java script at the bottom of the page that comes with the menu is not there. Is there any way how I can fix this ...

Go to the complete details ...