cube01
June 26th, 2008, 06:20 AM
I am trying to code a button that will replicate my browsers back button.
Basically I need my users to get back to the previous page, but dont want to say "please use your browsers back button." However all my attempts at replicating the browser's back button behavior through my own button have failed.
Using JavaScripts History.Go does not give desired results. The browser thinks it has gone back, but the same page is displayed.
Response.Redirect does not work as the whole page is reloaded and that is the opposite of what needs to happen.
I guess to get what I want, then when the user goes back I need the server not to rebuild the page. But can't figure out how to do that.
Anyone have any hints?
Thanks in advance.
Basically I need my users to get back to the previous page, but dont want to say "please use your browsers back button." However all my attempts at replicating the browser's back button behavior through my own button have failed.
Using JavaScripts History.Go does not give desired results. The browser thinks it has gone back, but the same page is displayed.
Response.Redirect does not work as the whole page is reloaded and that is the opposite of what needs to happen.
I guess to get what I want, then when the user goes back I need the server not to rebuild the page. But can't figure out how to do that.
Anyone have any hints?
Thanks in advance.