Sean
5 Answers, 1 is accepted
You can filter RadGridView view both through the UI (the little funnels) and programmatically.
Please, take a look at my blog post for more information. You should also examine all sub-topics under the Filtering topic in our documentation.
Let me know if you have any other questions.
Ross
the Telerik team
Thank you for being the most amazing .NET community! Your unfailing support is what helps us charge forward! We'd appreciate your vote for Telerik in this year's DevProConnections Awards. We are competing in mind-blowing 20 categories and every vote counts! VOTE for Telerik NOW >>

private void AddAFilter(object sender, RoutedEventArgs e)
{
cvs.Filter += new FilterEventHandler(FilterOutA);
}
private void RemoveAFilter(object sender, RoutedEventArgs e)
{
cvs.Filter -= new FilterEventHandler(FilterOutA);
}
that way on the Checked and Unchecked methods this makes filtering a DataGridView in WPF very easy. I tried to set the DataContext with CollectionViewSource, I also tried to add it as a Resource in my xaml and then finally trying to use the ItemsSource in the RadGridView. I could not apply one filter that way. I got an error from the UI when it tried to update. We deal with large amounts of data and it is the best approach for efficiency on the CPU. I read the post and it showed how to add them using around about way. Is it necessary to do this with the Telerik controls? Is there a place that has what the common translations from a regular .Net object's properties into what is needed with your guys' controls? Thanks again for the quick response. I was impressed.
Sean

Sean
As far as I understood, you want to filter the data before you "feed" it to RadGridView (or any other ItemsControls as a matter of fact). If I am correct, then you should disable RadGridView's built-in filtering.
Here is what RadGridView does when you "feed" it with a simple IEnumerable. It takes this IEnumerable and wraps it in an internal IQueryable. The when the user performs filtering (and sorting and grouping as a matter of fact), our data engine does the following. It read the information stored in the FilterDescriptors of RadGridView and based on that information it creates a lambda expression, compiles it and then dynamically invokes it over the source collection. In pseudo-code this might look like this:
sourceCollection.Where(customer => customer.Name == "John").
The result from this LINQ operation is then displayed in the grid. But that is if you leave RadGridView do the job for you. If you want, you can filter all the data before it even reaches RadGridView (or any ItemsControls such as a ListBox) but then RadGridView will not be a part of the filtering.
I hope that this explains things a little bit more.
Ross
the Telerik team
Thank you for being the most amazing .NET community! Your unfailing support is what helps us charge forward! We'd appreciate your vote for Telerik in this year's DevProConnections Awards. We are competing in mind-blowing 20 categories and every vote counts! VOTE for Telerik NOW >>

Gratefully,
Sean