ASP.NET Grid - Date Filters

ORDER ID
NAME
ORDER DATE
SHIPPED DATE
REQUIRED DATE
 
 
 
 
 
 
10273
QUICK-Stop
9/5/1994
9/5/1994 12:00:00 AM
9/12/1994
9/12/1994 12:00:00 AM
10/3/1994
10/3/1994 12:00:00 AM
10274
Vins et alcools Chevalier
9/6/1994
9/6/1994 12:00:00 AM
9/16/1994
9/16/1994 12:00:00 AM
10/4/1994
10/4/1994 12:00:00 AM
10275
Magazzini Alimentari Riuniti
9/7/1994
9/7/1994 12:00:00 AM
9/9/1994
9/9/1994 12:00:00 AM
10/5/1994
10/5/1994 12:00:00 AM
10277
Morgenstern Gesundkost
9/9/1994
9/9/1994 12:00:00 AM
9/13/1994
9/13/1994 12:00:00 AM
10/7/1994
10/7/1994 12:00:00 AM
10278
Berglunds snabbköp
9/12/1994
9/12/1994 12:00:00 AM
9/16/1994
9/16/1994 12:00:00 AM
10/10/1994
10/10/1994 12:00:00 AM
10279
Lehmanns Marktstand
9/13/1994
9/13/1994 12:00:00 AM
9/16/1994
9/16/1994 12:00:00 AM
10/11/1994
10/11/1994 12:00:00 AM
10282
Romero y tomillo
9/15/1994
9/15/1994 12:00:00 AM
9/21/1994
9/21/1994 12:00:00 AM
10/13/1994
10/13/1994 12:00:00 AM
10283
LILA-Supermercado
9/16/1994
9/16/1994 12:00:00 AM
9/23/1994
9/23/1994 12:00:00 AM
10/14/1994
10/14/1994 12:00:00 AM
10284
Lehmanns Marktstand
9/19/1994
9/19/1994 12:00:00 AM
9/27/1994
9/27/1994 12:00:00 AM
10/17/1994
10/17/1994 12:00:00 AM
10285
QUICK-Stop
9/20/1994
9/20/1994 12:00:00 AM
9/26/1994
9/26/1994 12:00:00 AM
10/18/1994
10/18/1994 12:00:00 AM
 
 
 
 
 
 
1
|
2
Records: 1 - 10 of 13 - Pages: 
OrderDate*_o_osep_*Between_OrderDate*_o_osep_*1/1/1994*_o_osep_*10/1/1994*_o_asep_*ShippedDate*_o_osep_*ByYearAndMonth_ShippedDate*_o_osep_*1994*_o_osep_*9*_o_asep_*RequiredDate*_o_osep_*ByMonth_RequiredDate*_o_osep_*10

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.

In this example we have created four custom filter options for each date column.



« Back to examples