Thanks for the clarifications! I was able to reproduce the erroneous behavior . Indeed there is some missing logic in the sample code .
I was able to isolate it to the following method :
convertedValue = DefaultValue(descriptor.MemberType);
convertedValue = Convert.ChangeType(
.FilterValue, descriptor.MemberType, CultureInfo.CurrentCulture);
convertedValue = date;
descriptor.Value = convertedValue;
When trying to convert the string value entered to numeric type for the numeric column , the code fails and falls back to the default value for the type - in this case 0. So an unneeded FilterDescriptor with value 0 is created.
As a workaround I may suggest to exclude the numeric column when creating the FilterDescriptors.
A simple check may be added to :
in order to prevent adding a filter descriptor for the numeric column .
Thank you for pointing our attention to that problem. We are going to update the online example.
I am updating your Telerik points.
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking
system and vote to affect the priority of the items