hi this is kavita
I m working on ajaxenabled websites.I take a gridview and show sme data and used paging.my gridview is in updatepanel.when I go next or previous page it work fine but using internet explore back and forward button nothing is displayed.I know it is due to update panel that is not refresh the page while paging but what is it solution please tell me?
thanks
Ajax back problem
3 Answers
Know the answer? Post it. Somebody with the same question will find it here.

Munir ShaikhRank #472 · 5.3K reputationPosted Aug 19, 2007, 10:00 PM EDT
Initially it seems that behavour of the browser is perfect, since browsers Back & Next means History.go(-1) or History.go(+1) This means that to have your paging work on the back and next button of the browser you have to do custom paging and pass page number as querystring like classical asp way. Best way to use a javascript and disable Back & Next or just open your page in new popup window where there will be no toolbar and address bar
Regards,
>>Munnamax
kavita113 reputationPosted Aug 19, 2007, 11:28 PM EDT
hiding toolbar is not a solution .is it not possible tgat when user click back button of IE we call a server side function.
please given me suggestion.
thanks
Munir ShaikhRank #472 · 5.3K reputationPosted Aug 21, 2007, 12:39 AM EDT
It is possible but when you called browser next and back button it has to reload page, at every page load you should have databind function which will bind to datagrid / gridview and for paging you can call javascript function in page load like Attribute.Add("Function name","event name");
That's it,
Hope this will solve your issue,
Regards,
>>Munnamax