This article describes how to customize a search screen in a LightSwitch application using Visual Studio 2012.I described in my previous article (http://www.c-sharpcorner.com/uploadfile/18ddf7/creating-a-search-screen-in-lightswitch-using-visual-studio/) how to create a search screen. The following is the procedure for customizing a search screen.Step 1Open the Search Screen.Step 2At the bottom-right corner of the Search Screen, you will see a "Design Screen" button. You can click it to start customizing the Search Screen. Step 3We can easily sort the records, since the DataGrid consists of a mechanism that automatically sorts the records. Suppose we want to sort any kind of data on the basis of the column value. We can easily sort it by clicking on the column that we want to sort.
Now let's sort the record by clicking on the FName column.We once again sort the record by clicking on the Experience Column Header. Step 4We can also change the Title of the Search Screen. Select the First Item from the left panel (Row Layout | Search Emp Tables).
Now go to the Properties option, in the Display Name field, change the name from Search Emp Table to Search Emp.Step 5A navigation panel works only if you have a large number of records in a table.Step 6The Screen consists of an Export To Excel Button.Step 7This will do nothing but it will automatically export our records to the Excel Work Sheet.
You need to be a premium member to use this feature. To access it, you'll have to upgrade your membership.
Become a sharper developer and jumpstart your career.
$0
$
. 00
monthly
For Basic members:
$20
For Premium members:
$45
For Elite members: