This question is locked. New answers and comments are not allowed.
I'm trying to create a programmatic filter descriptor as you explain here :
http://www.telerik.com/help/silverlight/radgridview-filtering-simple-filter-descriptors.html
I'm trying to do the same but the property "Member" have disapeared, I suppose it has been replaced by "PropertyPath", haven't it?
Supposing this, my code seems like that:
Ok, perfect, and now I try to add the new filter to the grid. radGridViewSimulations.FilterDescriptors.Add(newFilter);
According to the doc, it looked so simple until I saw the code doesn't compile. I receive a message saying something like that : "Erreur 2 Argument 1 : impossible to convert 'System.Windows.Controls.FilterDescriptor' in 'Telerik.Windows.Data.IFilterDescriptor' [...]" and
" Erreur 1 the better overriden method is 'System.Collections.ObjectModel.Collection<Telerik.Windows.Data.IFilterDescriptor>.Add(Telerik.Windows.Data.IFilterDescriptor)' it has non-valid arguments [...] "
(translation done by myself)
What's happening? why documentation isn't up to date !?!?!
http://www.telerik.com/help/silverlight/radgridview-filtering-simple-filter-descriptors.html
I'm trying to do the same but the property "Member" have disapeared, I suppose it has been replaced by "PropertyPath", haven't it?
Supposing this, my code seems like that:
FilterDescriptor newFilter = new FilterDescriptor();newFilter.PropertyPath = "Activite";newFilter.Operator = FilterOperator.IsEqualTo;Ok, perfect, and now I try to add the new filter to the grid. radGridViewSimulations.FilterDescriptors.Add(newFilter);
According to the doc, it looked so simple until I saw the code doesn't compile. I receive a message saying something like that : "Erreur 2 Argument 1 : impossible to convert 'System.Windows.Controls.FilterDescriptor' in 'Telerik.Windows.Data.IFilterDescriptor' [...]" and
" Erreur 1 the better overriden method is 'System.Collections.ObjectModel.Collection<Telerik.Windows.Data.IFilterDescriptor>.Add(Telerik.Windows.Data.IFilterDescriptor)' it has non-valid arguments [...] "
(translation done by myself)
What's happening? why documentation isn't up to date !?!?!