In this article I am going to describe how to develop a TextBox in LightSwitch using Visual Studio 2012.
Procedure for developing a TextBox in LightSwitch 2012
- Open the Visual Studio 2012.
- Go to "File" => "New" => "Project..."
- In "New Project" => "Installed" => "Template"
- In "Template" => "LightSwitch"
- Select "LightSwitch Application (Visual C#)".
- Enter the Name and choose the location.
- Click "OK".
Step 1
Open the Solution Explorer.
Step 2
In the Solution Explorer, right-click on the data source and choose "Add Table".
Step 3
The table appears.
Step 4
Go to the property window of the Description row, uncheck the "display by default" option and also clear out (make empty) the Maximum length TextBox.
Step 5
In the Solution Explorer, right-click on the Screens and choose "Add Screen".
Step 6
Select the List and Details Screen from the Screen Template. under Screen Information we provide the Screen Name and Screen Data and then click OK.
Step 7
The Screen Designer appears.
Step 8
Go to the property window of the Screen Designer and set the size.
Step 9
In the Screen Designer, right-click on Name. From the drop down list select the Delete Option.
Step 10
Drag the Description option from the Screen and place it under the Command Bar option.
Step 11
Press F5 to run the application.