Quantcast
Channel: DevExpress Support Center (Examples)
Viewing all articles
Browse latest Browse all 7205

ASPxGridView - Date auto filter

$
0
0

This example demonstrates how to create an ASPxComboBox filter with "today", "yesterday" and other filtering options

See Also:
CheckComboBox filtering in the Auto Filter Row
Date range filtering in the Filter Row

Question Comments

Added By: Amith Shetty 2 at: 3/24/2014 1:45:15 PM    

In the example, if i have only one record which has yesterdays day and I pick a filter of "last week", when the grid is rendered, the filter on top says "yesterday" due to the following executing first in grid_ProcessColumnAutoFilter. Is there a workaround for this?

else if (value >= start.AddDays(-1.0) &&
                value <= end.AddMilliseconds(-1.0))
                e.Value = "Yesterday";

Added By: Daniel Meltzer at: 12/17/2014 6:35:25 AM    

The sample provided via the Run Online option generates an error when selecting from the filter dropdown.

Added By: Gosha (DevExpress Support) at: 12/17/2014 11:01:12 AM    

Hello,

Yes, I see this behavior and I created a separate ticket on your behalf, T188556: The E1950 sample provided via the Run Online option generates an error when selecting from the filter dropdown, regarding this issue.


Viewing all articles
Browse latest Browse all 7205

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>