I am developing ASp.net application.ineed to Disable Internet Explorer Back And Forward buttons in application.Can any body help me how to do it.?
Thanks
Satish
Printable View
I am developing ASp.net application.ineed to Disable Internet Explorer Back And Forward buttons in application.Can any body help me how to do it.?
Thanks
Satish
You can use javascript's location.replace method so that the URLs are not maintained in history.
Can you give me piece of code .how to do it..
infact i have written like this
location.replace(URL)
but it is not working.I have around 8 pages in Intranet application.My requirment is allpages shoud not allow Browser back & farword button.Buttons should be disable.
document.location.replace('http://www.mendhak.com/');
If im moving from page A.aspx to B.Aspx, then where i have to keep this .i think in B.Aspx to avoid Back button.Then how abt farword button?
{{EDITED}}
Then how to solve it?I want disable back & forward buttons in all my pages.
So put it in the link on page 1
In My application there is no links.And Links not required in my application accroding client requirements
What on earth are you trying to do then?