We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. (Last updated on: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Disable back and next button of web Browser

Thread ID:





44128 May 15,2006 11:19 AM UTC May 17,2006 08:01 PM UTC ASP.NET Web Forms (Classic) 1
Tags: FAQ
Asked On May 15, 2006 11:19 AM UTC

I Like to disable back Button if i kill the session please send the code

Replied On May 17, 2006 08:01 PM UTC

call the javascript function ie call the javascript function from the body tag hope this solves u r problem function disableBack() { nextPage = new String(history.forward()); if (nextPage == "undefined") { //this has been done thru submit button or a hyperlink } else { location.rel='nofollow' href = window.history.forward(); // when the back button or the backspace is hit } }


This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Please sign in to access our forum

or the page will be automatically redirected to sign-in page in 10 seconds.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon