<script type="text/javascript">
function disablebackButton()
{
window.history.forward(0);
}
setTimeout("disablebackButton()",0);
</script>
set
<body onload="disablebackButton()">
How to disable back button of a browser in ASP.NET.
Join the conversation! Your thoughts help the community grow.
Join to leave a comment
Members earn 10 SHARP for a comment, 10 SHARP for a reaction, and 250 SHARP for every blog they publish.
DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend5days leftRegisterMembers onlyeBook · ASP.NETASP.NET Tags in Web Forms: The Complete GuideDownload nowWrite a blog post and earn +250 SHARP when it is approved.
Write a blog
Mahesh ChandTOP 10Posted Aug 12, 2012, 6:30 AM EDT
Editorial Feedback: Please use capital "I" and capital "ASP.NET" in articles and blogs.