Enable and Disable Design Screen in Visual Studio LightSwitch 2011


Introduction

Visual Studio LightSwitch is Microsoft tool for building business applications. The Design Screen is a type of screen which is used for manipulating the screen at run time. There are five types of screens in LightSwitch i.e. New Data Screen, List and Details Screen, Search Data Screen, Editable Grid screen and Details Screen. Using the Design Screen, you can manipulate your screen at run time.

Step 1 : First of all open Visual Studio LightSwitch 2011->New project->Select LightSwitch->Select LightSwitch application->Write name (Design screen)->Ok.

image1.png

Step 2 : Click on create new table.

image2.png

Step 3 : Create table like as student.

image3.png

Step 4 : Now we will add a screen. Go to Solution Explorer->Right click on screens->Add screen.

image4.png

Step 5 : Select Editable Grid Screen->Select screen data (Students)->Ok.

image5.png

Step 6 : Run the application (Press F5). Click on the + sign to enter data. You will see a Design Screen available in your LightSwitch application.

image6.png

Step 7 : Stop debugging. Go to menu bar->Click on build->Select configuration manager.

image7.png

Step 8 : You will select release mode->Close.

image8.png

Step 9 : Run the application (press F5). Now you will see there are no Design Screens.

image9.png

Conclusion

So in this article you saw how to enable and disable the Design Screen in a LightSwitch application.

Some Helpful Resources

Up Next
    Ebook Download
    View all
    Learn
    View all