This question is locked. New answers and comments are not allowed.
I stole this code from another post to change the background color of a column when a filter is applied. The first problem I am having with 2010 Q3 is that the Filtered Event doesn't fire until you have chosen a second filter condition. As you filter rows from the Telerik control, the rows are immediately filtered. It is just that the event does not always fire. When the event does fire sometimes the e.added and e.removed are incorrect. What am I missing?
<telerik:RadGridView Name="_rgvEntryData" ShowGroupPanel="False"AutoGenerateColumns="False" ShowInsertRow="True"RowIndicatorVisibility="Collapsed" DataLoadMode="Asynchronous" ShowColumnFooters="True"Margin="{StaticResource InnerMargin}"AddingNewDataItem="_rgvEntryData_AddingNewDataItem"Filtered="_rgvEntryData_Filtered" CanUserFreezeColumns="False" >private void _rgvEntryData_Filtered(object sender, GridViewFilteredEventArgs e){ foreach (Telerik.Windows.Data.FilterDescriptor descriptor in e.Added) { GridViewColumn column = _rgvEntryData.Columns[descriptor.Member]; column.Background = new SolidColorBrush(Colors.Orange); } foreach (Telerik.Windows.Data.FilterDescriptor descriptor in e.Removed) { GridViewColumn column = _rgvEntryData.Columns[descriptor.Member]; column.Background = new SolidColorBrush(Colors.Transparent); }}