I need to be able to set the CurrentFilterFunction to NoFilter when the user deletes the value without manually selecting the NoFilter option from the menu. The following code is useless since the CurrentFilterValue contains the value that was deleted.
foreach (GridColumn column in RadGrid1.MasterTableView.Columns)
{
if (column.CurrentFilterFunction != GridKnownFunction.NoFilter
&& string.IsNullOrEmpty(column.CurrentFilterValue))
{
column.CurrentFilterFunction = GridKnownFunction.NoFilter;
}
}
Here is the description from the tester: If you enter a value in a filter field and highlight thevalue and hit the delete key then enter a value in a different filter and selectthe filter icon… the first value you entered and deleted re-appears and isincluded in the filter.