Articles → LIGHT SWITCH 2011 → Multiple Search Parameters In Lightswitch 2011
Multiple Search Parameters In Lightswitch 2011
Software Requirement
- Visual studio 2010 is installed on your machine.
- Visual Studio 2010 service pack 1 is installed on your machine.
- Microsoft Visual Studio Light switch 2011 is installed on your machine.
Prerequisite Knowledge
- How to create lightswitch tables?
- How to add screens in lightswitch application?
- How to add data item?
- How to create modal pop up?
- How to add query for table.
- How to bind grid with query?
- How to add relationship between tables?
Creation Of Table
Click to EnlargeCreation Of Editable Screen
Click to EnlargeCreate Query On Table
Click to Enlargedeclare @EmployeeName as varchar(max)
set"@EmployeeName = 'karan'
select * from Employee where EmployeeName = @EmployeeName
Add Query On Editable Screen
Click to EnlargeClick to EnlargeClick to EnlargeAdd Data Items For Filters
Click to EnlargeClick to EnlargeAdd Filters In Popup
Click to EnlargeAdd Button To Open Modal Window
Click to EnlargeButton’S Execute Events
/// <summary>
/// Method invoked when
/// Filter button is clicked
/// </summary>
partial void Filter_Execute() {
this.OpenModalWindow("Group");
}
/// <summary>
/// Method invoked when Apply Filter
/// button is clicked.
/// </summary>
partial void ApplyFilter_Execute() {
this.CloseModalWindow("Group");
}
Bind Query Parameters With Data Item
Click to EnlargeClick to EnlargeClick to EnlargeOutput
Click to EnlargeClick to EnlargeClick to EnlargeDownloadPosted By - | Karan Gupta |
|
Posted On - | Tuesday, July 10, 2012 |