Adding a Client Screen to LightSwitch Application Using LightSwitch 2012

This article shows how to add a client screen to a LightSwitch Application (Visual C#) in Visual Studio 2012.

The following is the procedure for adding a client screen

Step 1

Open the Solution Explorer.

sol ex.jpg

Step 2

In the Solution Explorer, right-click on the server and choose "Add Table".

add table.jpg

Step 3

The table appears.

table.jpg

Step 4

In the Solution Explorer, right-click on the project name (Application) and choose the "Add client".

add client.jpg

Step 5

The Add Client dialog box appears on the screen. Select "HTML client" and provide a name and click "OK".

dialog box.jpg

Step 6

You need to upgrade the project to add a new client. So click "OK" to continue.

upgrade.jpg

Step 7

We will notice that the HTML Client Screen is added to the Solution Explorer.

sol exp html.jpg

Step 8

In the Solution Explorer right-click on the HTML Client Screen and choose "Add Screen".

add src html.jpg

Step 9

The Add New Screen dialog box appears. Select the "Browse Data Screen" from the Screen Template, provide the screen information and click the "OK" button.

browse src.jpg

Step 10

The Browse Screen Designer appears.

brewse src desi.jpg

Step 11

Press F5 to run the application. As I have not provided any data until now.

no item.jpg


Similar Articles