We posted a reply in the support thread you stared. Basically, in order to persist the custom filter, you need to customize the GridViewCustomPropertyProvider. You need to slightly change the ProvideValue() and RestoreValue() methods to save/load the settings of your custom filtering control.
And as we suggested in the support thread, you can access the columns FilteringControl and if it's not null and it is active, then you can make sure to save its settings (the properties of the custom CategoricalCustomFilterControl
). You can try to extend the current logic of the ProvideValue()
method - when saving the FilterDescriptors
(settings.Count == 0)
FilterSetting setting =
setting.ColumnUniqueName = column.UniqueName;
var customDescr = column.FilteringControl
//save the customDescr properties in the setting object
Let us know if that helps or if we can further assist you.
the Telerik team