This article describes how to add various screens in a LightSwitch Application using Visual Studio 2012.Procedure for adding various types of screens in LightSwitch 2012.Step 1Open the Solution Explorer.Step 2Right-click on Screen and choose "Add Screen".The Add New Screen dialog Box will appear as in the following:There are various types of screen templates as in the following:1. Detail Screen2. Editable Grid Screen3. List and Detail Screen4. New Data Screen5. Search Data ScreenStep 3New Data ScreenIt allows us to insert a new row in a table each time. Or we can say that it is used to create a new data record. It can also be used to create a child record.The output of New Data Screen is shown below.List and Detail ScreenThis type of screen template is used when we want to see a list of all the records as well as edit the details on a screen. The Screen is divided into two parts. The Left Side displays the record list and the right side displays the details of the selected record. Or in short we can say it displays a list of items and the corresponding details for the selected list item.The output of the List and Detail Screen is shown below.Editable Grid ScreenWhen we want to add, delete and modify multiple records in a specific interval of time, the Editable Grid Screen is used. Or by using an Editable Grid Screen we can modify multiple records at the same time. In short we can say that the Editable Grid Screen edits one or more records in a grid format.The output of the Editable Grid Screen is shown below.Detail ScreenIt is used to display a single entity along with its children, if any. It does not appear in the LightSwitch Application Navigation Menu, they are launched from another screen.Search Screen It is used to search records without providing data manipulation functionality in LightSwitch. Or we can say that this screen is used to search for data returned from a query. A Link to the detail screen for every search result is provided. If a default screen does not exist then one will be created for us.The Output of the Search Screen is shown below.
You need to be a premium member to use this feature. To access it, you'll have to upgrade your membership.
Become a sharper developer and jumpstart your career.
$0
$
. 00
monthly
For Basic members:
$20
For Premium members:
$45
For Elite members: