locked
how to navigate values from one to another screen in lightswitch vs 2013 RRS feed

  • Question

  • how to navigate values from one screen to another screen in lightswitch vs 2013
    Monday, November 17, 2014 7:35 AM

Answers

  • If you are using the Silverlight Client, you can the code Application.ShowScreenName() method to show a particular screen. You can pass a parameter to that screen to carry the ID of the entity to open in that screen. Be aware that each Screen has its own data context and any changed data on your previous screen will not have been saved, and so not visible to the new screen.

    The HTML client works completely differently and the article pointed to by Deric above should help. If you're asking about how to enable a button after the user checks a checkbox, you need to make that clear in your question.


    Simon Jones
    If you found this post helpful, please "Vote as Helpful". If it actually answered your question, please remember to "Mark as Answer". This will help other people find answers to their problems more quickly.

    • Marked as answer by Angie Xu Monday, November 24, 2014 3:09 AM
    Tuesday, November 18, 2014 5:31 PM

All replies

  • This article explains How to Navigate http://msdn.microsoft.com/en-us/library/jj733570.aspx
    Monday, November 17, 2014 12:02 PM
  • Hi,

    First of all thanks for post, nice article but actually my requirement is

    when i check the check box the next button should Enable and navigate to another page in lightswitch Vs 2013.

    Tuesday, November 18, 2014 4:42 AM
  • If you are using the Silverlight Client, you can the code Application.ShowScreenName() method to show a particular screen. You can pass a parameter to that screen to carry the ID of the entity to open in that screen. Be aware that each Screen has its own data context and any changed data on your previous screen will not have been saved, and so not visible to the new screen.

    The HTML client works completely differently and the article pointed to by Deric above should help. If you're asking about how to enable a button after the user checks a checkbox, you need to make that clear in your question.


    Simon Jones
    If you found this post helpful, please "Vote as Helpful". If it actually answered your question, please remember to "Mark as Answer". This will help other people find answers to their problems more quickly.

    • Marked as answer by Angie Xu Monday, November 24, 2014 3:09 AM
    Tuesday, November 18, 2014 5:31 PM