Click here to Skip to main content
15,920,632 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I want to disable the back button of internet explorer at runtime using ASP.net
How can this be achieved?

Thanks in advance!
Posted
Updated 13-May-11 0:55am
v2

 
Share this answer
 
v2
Comments
Manfred Rudolf Bihy 13-May-11 7:24am    
Nice link! 5+
Simple answer is that you can't as javascript cannot modify IE's user interface. What you can do is take measures that make your application behave correctly even when the back button was pressed:


  1. Disable Browser Back Button Using Javascript ASP.NET[^]
  2. How to disable the Backspace button in Internet explorer using asp.net[^]


Hope that helped some!

-MRB
 
Share this answer
 
v2
Comments
Abhinav S 13-May-11 7:22am    
Countered with a 5 too. :)
Manfred Rudolf Bihy 13-May-11 7:23am    
Thanks!
bsb25 13-May-11 7:35am    
nice link.5+
 
Share this answer
 
Comments
Manfred Rudolf Bihy 13-May-11 7:22am    
Univoter struck again :(
Countered with a 5! :)
Abhinav S 13-May-11 7:22am    
Thank you.
bsb25 13-May-11 7:36am    
good one..5+;
Abhinav S 13-May-11 7:50am    
Thanks.
I think instead of this,try to search javascript source code,while click on
back button on internet should show alert message.
 
Share this answer
 
Comments
Manfred Rudolf Bihy 13-May-11 7:21am    
Univoter struck again :(
Countered with a 5! :)
Abhinav S 13-May-11 7:23am    
Countered.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900