I have been setting filter descriptors like the following:
and it used to work. I updated to 2011 Q2 SP1 and now when the filter doesn't find any records in the query it throws an exception (attached). I'm beginning to question the right way to programatically alter a field descriptor's value and was hoping you could tell me if the above way is correct or not. If not what would be the correct way of altering a filter?
DDS.AutoLoad =
false
;
DDS.FilterDescriptors.Clear();
Telerik.Windows.Data.FilterDescriptor fd =
new
Telerik.Windows.Data.FilterDescriptor(
"Name"
, Telerik.Windows.Data.FilterOperator.Contains,
filter) { IsCaseSensitive =
true
};
DDS.FilterDescriptors.Add(fd);
DDS.AutoLoad =
true
;