TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
C# Corner
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Disable back button of browser in ASP.NET
Hardik Patel
Aug 12, 2012
5.5
k
0
0
facebook
twitter
linkedIn
Reddit
WhatsApp
Email
Bookmark
How to disable back button of a browser in ASP.NET.
<script type="text/javascript">
function disablebackButton()
{
window.history.forward(0);
}
setTimeout("disablebackButton()",0);
</script>
set
<body onload="disablebackButton()">
Disable back button of browse in asp.net
Next Recommended Reading
Disable Browser Back Button