How to keep a page's status if navigate to next page and back RRS feed

  • Question

  • Hello,

        i just completed the search function in a metro style app. But i find a question. the landing page always be reset after i completed a search and back to the landing page by using WinJS.Navigation.back().

    For example, some buttons or pictures are hidden in landingpage.html initially. their property of "style:visibility" will be set to "visible" after landingpage.js runs for a while. Then i run search function and the app will navigate to the search result page. when click the backbutton back to landing page, all the buttons or pictures in landingpage are reset to hidden. how to fix it? thanks in advance.

    • Edited by 海獅 Friday, January 6, 2012 7:58 AM
    Friday, January 6, 2012 7:57 AM