i have a one-to-many screen. on the detail screen i created 3 add buttons.
what i would like to do is call the add screen with different initial value depending on what add button the user clicked.
can i do this?
Absolutely! If you create your own "add" screen, and you're not using the built-in modal one.
where "CustomScreenName" is the name of your custom screen, & value is the value that you want to pass to it.
And if you haven't seen them, I highly recommend Beth Massi's videos on creating your own screens.
How Do I: Create an Edit Details Screen in a LightSwitch Application
How Do I: Create a Screen that can Both Edit and Add Records in a LightSwitch Application?
(plus ça change, plus c'est la même chose!)
Microsoft is conducting an online survey to understand your opinion of the Msdn Web site. If you choose to participate, the online survey will be presented to you when you leave the Msdn Web site.
Would you like to participate?