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.

Recommended Answers

All 8 Replies

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.

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.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.