Close screen LightSwitch HTML RRS feed

  • Question

  • Hi

    How can close the screen, with code and not design, in project LightSwitch HTML?

    Thanks, regards


    Friday, July 5, 2013 1:08 PM


All replies

  • Did you try with:


    Friday, July 5, 2013 4:15 PM
  • It Isn't correct.
    There is another function?

    Monday, July 8, 2013 12:36 PM
  • Hi,

    To close the screen you can use screen.commitChanges or screen.cancelChanges. More details and sample can be found in this blog post (LightSwitch Help Website).

    Best regards,

    Tuesday, July 9, 2013 11:23 PM
  • In Visual Studio 2013 these methods generate exceptions.

    You have to use myapp.commitChanges() method to close screen

    Saturday, October 26, 2013 11:41 AM
  • Hi Huy,

    Can you please answer this Question ?

    Many Thanks !!!

    Monday, April 28, 2014 7:01 AM