Showing an Existing Screen as a Dialog in LightSwitch Visual Studio 2012

Showing an Existing Screen as a Dialog in LightSwitch Visual Studio 2012

In this article I describe how to show an existing screen as a dialog for a LightSwitch Application.

In my previous article (http://www.c-sharpcorner.com/UploadFile/18ddf7/creating-a-dialog-in-lightswitch-visual-studio-2012/) I described how to create a dialog using LightSwitch Visual Studio 2012.

Steps for Showing an Existing Screen as a Dialog

Step 1

Open the Solution Explorer.

solut.jpg

Step 2

In Solution Explorer, open the HTML client screen for which you want to show as a dialog.

open.jpg

Step 3

The Screen Designer appears.

addedittab.jpg

Step 4

In the screen designer, choose the topmost node.

addedittab.jpg

Step 5

Open the properties window.

prop win.jpg

Step 6

In the properties window, select the "Show As Dialog" check box.

prop win.jpg

Step 7

When we start debugging we get:

out.jpg

Click on the "Add" Tab and we will see:

empty textbox.jpg

Insert the data in the following fields:

output.jpg

Click on the "Save" button.

output1.jpg

Up Next
    Ebook Download
    View all
    Learn
    View all