Click here to Skip to main content
15,894,740 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
dear sir,

how to use browser back button disabled in java script with master page(C#,Asp.net)

i got normal page browser back button is disabled,

But does Not working in master page in this same code.


give me solutions???


By mohan
Posted

1 solution

If you're talking about disabling the back button (part of the browser), have a look at previous answers I've given on this

how to disable back button in asp.net[^]

How to disable back,forward and Refresh functionality in browser?[^]

I'll say again..(quoting myself!)

In short, don't disable the back button - it's not yours to disable. If you're trying to do this because your application 'needs it', then your architecture and general approach is probably incorrect

You can't reliably disable the back button and you shouldn't be attempting to
 
Share this answer
 
Comments
Uday P.Singh 3-Nov-11 14:32pm    
agree 5+

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