Browser "Back Button" is not meant to go forward.......

On Tue, Nov 24, 2009 at 2:05 PM, pallavi kondapure <[email protected]
> wrote:

>
> Hi All,
>
> I have a web page ,basically content page that is using AJAX controls(in
> .Net 3.5) ,Now my requirement is to disable back button in the browser .I
> have put
>
> window.history.forward();
> I am calling this code on onload  in javascript
> window .onload
>
> This  code works the first time the page is loaded.but when i click submit
> button a gridview is shown in the same page ,then when I click on the Back
> Button of the browser the following message appears
>
> "*Warning: Page has Expired "*
>
> I want to show the same page when the user clicks the browser Back button.
> Kindly Suggest
>
> Thanks in advance
> Pallavi.K
>
>
>
>
>
>

Reply via email to