ASP.NET Grid Tip: How To Check For Empty Values In Header Filter
Posted by: The ASPx Blog,
on 17 Mar 2009 |
View original | Bookmarked: 0 time(s)
Heres a quick and useful tip for finding empty values when using the ASPxGridViews header filter. For example, if you have a Date column: And you want to find all the Orders which have an Empty ShippedDate value, then follow these 2 simple steps: Override the ASPxGridViews HeaderFilterFillItems event Add the following 2 lines of code: C# Version: protected void ASPxGridView1_HeaderFilterFillItems(object sender, DevExpress.Web.ASPxGridView.ASPxGridViewHeaderFilterEventArgs e)
{
...