Disable Back Button
-
Hi, I want to disable the backbutton for the web pages in my application. How do I do that. Thanks and Regards Balachandar Ganesan. I want to fully utilize every thing.
-
Hi, I want to disable the backbutton for the web pages in my application. How do I do that. Thanks and Regards Balachandar Ganesan. I want to fully utilize every thing.
I don't think the back button can be disabled but I think we can fake the functionality using javascript. What I think you can do is, you can make sure a newly selected page replaces the previous one in the page history list try to use something like this in javascript location.replace('mynewPage.htm'); The location.replace('whateverUrl.aspx') call will replace the current page in the history list with the new page thus preventing going back to the current page. You might also use that in a link with new page otherwise you will have to open that page without a toolbar or menubar Hope this gives you a a starting point