Response.Cache.SetCacheability(HttpCacheability.NoCache)
the application that I am running it is actually running as an iFrame for a second application, I wondering if this is the reason my code it is not working.
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
Sam HobbsPosted Apr 29, 2011, 9:37 AM
The whole system of HTTP and HTML and ASP is not well-designed and the history of navigations is a victom of that. In other words, history often does not work correctly in ASP applications. It is frustrating for me when applications such as Facebook cannot remember where I have been. I really depend on navigation history to get me back to where I have been. Sometimes it is highly inconvenient to somehow get back to where I have been when the history does not work.
Jonathas SucupiraPosted Apr 28, 2011, 5:26 PM
function disableBackButton() {
window.history.forward();
}
setTimeout("disableBackButton()", 0);
What I was actually looking for was to be able to remove the history cache so it would gray out the back button.
Suthish NairPosted Apr 28, 2011, 4:56 PM
protected override void OnPreRender(EventArgs e)