locked
How to navigate to another page using WinJS

    Question

  • Is there a way to navigate to another page using WinJS? In regular JS you can just use the window.location.href. I tried the WinJS.Navigation.navigate() function but that seems to only work if you're the single page app feature of WinJS, which isn't an option for this application. So is there a way to do this in WinJS like in regular JS?
    Sunday, February 1, 2015 6:49 PM

Answers

  • Hi caleb_dre,

    That means you would like to navigate the page by single page navigation pattern? See this for more information: Quickstart: Using single-page navigation, you can also use window.location.href, but you need to assign some prefix to the address for instance ms-appx.

    --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.

    Monday, February 2, 2015 5:58 AM
    Moderator