locked
how to navigate back in html client using javascript? RRS feed

  • Question

  • In html client, when you are using built-in navigation to navigate to a detail screen, it adds a back button at the up-left corner of the screen. how can I navigate back the exactly  same way using javascript? The reason for this is that in the custom method, I might need to do a few things in javascript code.

    jl


    • Edited by Joe Lee Tuesday, August 20, 2013 12:33 AM
    Tuesday, August 20, 2013 12:31 AM

Answers

  • I found the answer using this javascript myapp.cancelChanges()


    jl

    • Marked as answer by Joe Lee Tuesday, August 20, 2013 12:47 AM
    Tuesday, August 20, 2013 12:47 AM

All replies

  • I found the answer using this javascript myapp.cancelChanges()


    jl

    • Marked as answer by Joe Lee Tuesday, August 20, 2013 12:47 AM
    Tuesday, August 20, 2013 12:47 AM
  • Hi,

    I am very glad that you have solved your problem by yourself.

    If you have any other problem, welcome to post it in the Visual Studio LightSwitch Forums.

    Best Regards,
    Amy Peng


    <THE CONTENT IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND, WHETHER EXPRESS OR IMPLIED>
    Thanks
    MSDN Community Support

    Please remember to "Mark as Answer" the responses that resolved your issue. It is a common way to recognize those who have helped you, and makes it easier for other visitors to find the resolution later.

    Wednesday, August 21, 2013 3:50 AM
    Moderator