Enable and Disable Design Screen in Visual Studio LightSwitch 2011

In this article, you will see how to enable and disable the Design Screen in a LightSwitch application.


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.


Step 2 : Click on create new table.


Step 3 : Create table like as student.


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


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


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.


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


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


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



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

Some Helpful Resources