I’m trying to scrape this grid from a website:
Obviously this is going to be hard since the grid is paged. Using firebug, hovering my mouse over one of the numbers will give me this javascript:
"javascript:__doPostBack('ctl00$ctl00$ctl00$CMSGMainContentPlaceHolder$ToolContentPlaceHolder$MCDContentPlaceHolder$ncdControl1$ncdGridView','Page$2')"
Is there anyway I can trigger that postback, and get the HTML back?
Edit: The grid is in an update panel, so the url doesn’t change when you cycle through the paging.
You should be able to do something like:
Maybe you will have to jump through some hoops to get the correct ID for the control.