How to make redirect in Metro applications using javascript RRS feed

  • Question

  • Hi, I am creating an mero app using javascript;

    Basically i start with LoginPage which is like wizard, 
    1.Enter loginName and passwrd 
    2.if validated choose i get a list say list of properties
    3.NExt entr some information...and then finally move to Home.HTml

    i have created 3 HTml page for every step

    And using Winjs.navigation.navigate method to traverse to next step..and after 3rd step i want to move to completly new page ...

    Please let me know how to do this

    i tried with something like this
    1.I did used the same winjs.navigation.navigate method to redirect  to Home.Html and just removed back button from Home.html, Is what i did is right....

    2.Also I want to add Logout button in home page, which will take me to login page again..

    Please come up with somutions, i greatly appreciate.
    Monday, August 20, 2012 1:42 PM

All replies

  • Hi Sukesh,

    Yes you did it right.

    If you want to add a logout button to the hope page simply call Winjs.navigation.navigate method to go back to the login page.


    Jeff Sanders (MSFT)

    Monday, August 20, 2012 7:36 PM
  • when u do it like that,

    ready method in login page is not firing

    Tuesday, August 21, 2012 8:56 AM
  • What version of Windows are you on?  It does work fine for me in Windows 8 RTM.  Can you post a simple repro of the problem here?


    Jeff Sanders (MSFT)

    Tuesday, August 21, 2012 2:47 PM