Yeah, the best solution is don't try and disable the back button. It is
defined behaviour which shouldn't be tampered with.

On Fri, Nov 27, 2009 at 11:28 AM, pallavi kondapure <
pals.kondap...@gmail.com> wrote:

> Thanks for the info..
> Could you please suggest the solution for this....
>
> Regards
>
> On Tue, Nov 24, 2009 at 6:16 PM, Raghupathi Kamuni 
> <raghukam...@gmail.com>wrote:
>
>> Browser "Back Button" is not meant to go forward.......
>>
>>
>> On Tue, Nov 24, 2009 at 2:05 PM, pallavi kondapure <
>> pals.kondap...@gmail.com> 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