Disabling IE back button

U

Uhway

1. How can do disable IE back button when I am on certain pages?
2. When user clicks ob IE back button, how can I force them to return to the
same page? The reason I want to do is, after they click on the finish
button after navigating through four or five pages, I don't want an user to
revisit the data entry pages. At the same time can I reset those pages on
clicking finish button. But at the same time before clicking on the finish
button they should be able to go back and change the data.
3. Except for my first page all other pages are retaining data on
revisiting. I don't know why the first one is loosing the entered or
selected values? I removed all the code from page_load event --
!ispostback . But no use.

Thanks in Advance
BVR
 
D

dan.c.roth

Solution to the Back button problem for IE 5.5 and above.

1) Get rid of the cache

Response.CacheControl = "no-cache";
Response.AddHeader("Pragma", "no-cache");

2) set SmartNavigation = true

Daniel Roth
MCSD.NET
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,769
Messages
2,569,582
Members
45,071
Latest member
MetabolicSolutionsKeto

Latest Threads

Top