Ajax and Brower Navigation for Back/Forward
Posted
by David Rodecker
on Stack Overflow
See other posts from Stack Overflow
or by David Rodecker
Published on 2009-06-10T05:26:11Z
Indexed on
2010/04/02
6:03 UTC
Read the original article
Hit count: 505
I am using a ASP.net form with custom onclick mouse events to modify data values. Upon clicking and updating the values, one div section of the form performs a postback.
onclick="__doPostBack('ctl01$phCon1$gridReports','sel1')"
This is working well, however when the browser BACK option is selected, the browser opens goes through the history of the DIV ajax/onclick actions prior to going back to the prior URL.
I suspect that this may be due to the doPostBack being treated as a browsing operation. Is there a means to perform the necessary ASP.net code events to make the page work, but not have the action stored in the browser history?
© Stack Overflow or respective owner