asp.net - Spoofing IsPostBack -


i'm using htmlagilitypack part of automated process extract content existing internal web pages. problem need able make think ispostback true.

this flow:

  • make initial call page , extract html.

  • parse html extract __eventvalidation, __viewstate, __eventtarget etc... , append them next post same page.

  • append specific criteria post simulate user input (date range selection instance).

  • post same page , retrieve html response.

it works in testing, 2 of criteria set based on submission. 2 more overridden inside ispostback check. far have not been able see ispostback being true on second request.

does know asp.net looks @ set ispostback?

for spoofing need simple page want spoof page

for simple page want need download software copy offline browser software html,css,js.

than can use

http://www.httrack.com/


Comments

Popular posts from this blog

javascript - Jquery show_hide, what to add in order to make the page scroll to the bottom of the hidden field once button is clicked -

javascript - Highcharts multi-color line -

javascript - Enter key does not work in search box -