Using AjaxSetting cause Page_Load event fire when back from another page

3 posts, 0 answers
  1. Naunton
    Naunton avatar
    70 posts
    Member since:
    Jun 2010

    Posted 04 Aug 2011 Link to this post

    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. Shinu
    Shinu avatar
    17764 posts
    Member since:
    Mar 2007

    Posted 05 Aug 2011 Link to this post

    Hello Hsi Kao,

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

    Thanks,
    Shinu.
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. Naunton
    Naunton avatar
    70 posts
    Member since:
    Jun 2010

    Posted 05 Aug 2011 Link to this post

    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
Back to Top