locked
Navigation using app bar command RRS feed

  • Question

  • Hey

    I have two html page one is page1.html and other is page2.html and i want to navigate page2.html from page1.html using app bar command so 

    When i am using WinJS.Navigation.navigate("/pages/categories/page2.html").done; 

    It's working but app bar of page2.html is not showing.

    but when i am using <a href="/pages/categories/page2.html"> it's showing.

    thanks


    Deepak

    Monday, February 2, 2015 11:22 AM

Answers

  • Hi Deepak,

    Do you have a special app bar in your page2 or the app bar is shared for the app?

    Take a look at the tutorial: Quickstart: Using single-page navigation, if you can make a model like this, you can navigate to the page2 without setting any app bar.

    Navigating to page2.html the recommended way.

    --James


    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click HERE to participate the survey.

    Tuesday, February 3, 2015 5:38 AM
    Moderator