Hi all
I populated gridview using custom paging and wraped it in update panel. Issue is when i go to a page, select an item and press browser back button it take me back to first page not to page that i last visited.
Hi all
I populated gridview using custom paging and wraped it in update panel. Issue is when i go to a page, select an item and press browser back button it take me back to first page not to page that i last visited.
Because that page was not requested by the web-browser. It was requested by AJAX (; .
I have googled for hours looking for best way to fix this and didnt found anything that seems to work.
Is there a way to fix this?
Don't use back button.
B
Take a look at some articles/thread on back button.
1. http://stackoverflow.com/questions/116446/what-is-the-best-back-button-jquery-plugin
2. http://www.isolani.co.uk/blog/javascript/FixingTheBackButtonThatAjaxBroke
3. http://www.ajaxonomy.com/2007/web-design/a-better-ajax-back-button-solution
im pointing at browsers back button? application will not work properly if user click back button of browwer
Yes! All my posts target "back button" of browser.
Just ,Put your Grid View outside update panel.Update panel control doesn't refresh when page refresh.
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.