ASP.NET Grid - Custom Filter Options with Templates

ORDER ID
NAME
COUNTRY
CITY
ORDER DATE
FREIGHT
 
 
 
 
 
 
 
 
10369
Split Rail Beer & Ale
USA
Lander
1/2/1995
1/2/1995 12:00:00 AM
195.68
10385
Split Rail Beer & Ale
USA
Lander
1/17/1995
1/17/1995 12:00:00 AM
30.96
10432
Split Rail Beer & Ale
USA
Lander
3/3/1995
3/3/1995 12:00:00 AM
4.34
10510
Save-a-lot Markets
USA
Boise
5/19/1995
5/19/1995 12:00:00 AM
367.63
10555
Save-a-lot Markets
USA
Boise
7/3/1995
7/3/1995 12:00:00 AM
252.49
10603
Save-a-lot Markets
USA
Boise
8/18/1995
8/18/1995 12:00:00 AM
48.77
10607
Save-a-lot Markets
USA
Boise
8/22/1995
8/22/1995 12:00:00 AM
200.24
10612
Save-a-lot Markets
USA
Boise
8/28/1995
8/28/1995 12:00:00 AM
544.08
 
 
 
 
 
 
 
 
1
Records: 1 - 8 of 8 - Pages: 
ShipName*_o_osep_*ShipNameStartsWith*_o_osep_*Save*_o_osep_*Split*_o_asep_*ShipCountry*_o_osep_*CountriesIn*_o_osep_*USA,Germany*_o_asep_*ShipCity*_o_osep_*CitiesIn*_o_osep_*Boise,Lander*_o_asep_*OrderDate*_o_osep_*Between_OrderDate*_o_osep_*1/1/1995*_o_osep_*10/1/1995*_o_asep_*Freight*_o_osep_*FreightIsInInteral*_o_osep_*true*_o_osep_*false*_o_osep_*false*_o_osep_*true

The CustomFilterOption class allows you to create new filter options that are more advanced than the standard ones offered by the Grid.
Each custom option may have a template applied to it and you can have a different template for each custom filter option.

You can use the OnFiltering server-side event to generate the appropriate filter expressions for each column,
based on the values of the fields from the filter options templates.



« Back to examples