This is a migrated thread and some comments may be shown as answers.

Using AjaxSetting cause Page_Load event fire when back from another page

2 Answers 80 Views
Ajax
This is a migrated thread and some comments may be shown as answers.
Naunton
Top achievements
Rank 1
Naunton asked on 05 Aug 2011, 03:56 AM
Dear All,

To avoid page refreshing I used RadAjaxManager and Add AjaxSetting but if I use like this when I back('back' button from browser) from another page all data I have filled in textbox, selected in combobox are disappear and Page_load event is firing.
If not using AjaxSetting, when user use back button from browser, Page_load is not fire and data are remain as user filled.
I want to use Ajaxsetting to prevent page refresh and when using browser back button data should remain(page_load should not fire).
Please advise how can I?

Thanks and best regards

2 Answers, 1 is accepted

Sort by
0
Shinu
Top achievements
Rank 2
answered on 05 Aug 2011, 05:26 AM
Hello Hsi Kao,

Check the following help documentation to resolve your problem.Hope this helps.
Back Button and SelectedValue.

Thanks,
Shinu.
0
Naunton
Top achievements
Rank 1
answered on 05 Aug 2011, 05:53 AM
Hi Shinu,

Thank you for your reply.

Yes, I can keep data with hidden fields or session.
Currently I use session to keep data (5 comboboxes and Grid data), so when user click browser's 'back' datas are still remain there.
But, now there is another problem when user back to the page by clicking Menu(not using browser's back) datas are still remain there because of I used session, by right form should be clear here.
My next question is where I can clear this session if user go to another page then come back by clicking Menu?

Thanks and best regards
Tags
Ajax
Asked by
Naunton
Top achievements
Rank 1
Answers by
Shinu
Top achievements
Rank 2
Naunton
Top achievements
Rank 1
Share this question
or