The ASPxGridView has the Filter Row, but unfortunately it doesn't provide the FilterRow template. However since v2009 vol 2 version, the ASPxDropDownEdit control can easily provide its template, which can be used as a filter editor.
This example demonstrates how to filter the range of dates using the similar approach demonstrated in the example E353: Create the Custom Filter Criteria. This example uses the DropDownEditProperties.
Starting with version 13.1, this can be achieved simpler. You can use the FilterCell Template of the ASPxGridView. See a solution for that version.
See Also:
E2203: CheckComboBox filtering in the Auto Filter Row
E1950: ASPxGridView - Date auto filter
E5038: GridView - How to implement date range filtering using a custom editor in the AutoFilterRow
Example Comments
Added By: Gunnar Steinn Magnússon at: 8/24/2012 9:03:41 AM
Could you please post a suggested way to do implement this with MVCxGridView?
Added By: esa s at: 7/29/2013 6:46:41 AMhi, in this sample by clicking twice on the Apply button (without changing dates), the dateSelector control would not be loaded and it will cause an exception in your gridview, would you please check this ? thanks