I tried to add FilterDescriptor for RadGridView, but it is not adding and shows an error message "The method or Operation is not implemented". Please let me know any other way to add FilterDesriptor or how to overcome this error.. I'll be thankful to you if given any good idea.
This is the code I've written...
For
Each d As FilterDescriptor In e.Added
RadGridView1.FilterDescriptors.Add(New FilterDescriptor(d.Member.ToString, d.Operator, d.Value, False))
Next
I have installed Q3 version in my system.. Please Help..
Thanks and Regards,
Azharshah H
8 Answers, 1 is accepted
Make sure you are not using the System.Windows.Controls.FilterDescriptor.
You need to use Telerik.Windows.Data.FilterDescriptor.
Greetings,
Veselin Vasilev
the Telerik team

I'm using Telerik.Windows.Data.FilterDescriptor only. I really don't know why I'm getting that error.
The Object Browser shows the following message when I Clicked "Go To Definition" on "FilterDescriptor".
Public Class FilterDescriptor
Inherits
Telerik.Windows.Data.FilterDescriptorBase
Member of
Telerik.Windows.Data
Thanx and Regards,
Azharshah H
What exactly is e.Added? Can you give us the relevant code?
Greetings,
Veselin Vasilev
the Telerik team

Hi Veselin Vasilev ,
This is the code I'm using....
Private
Sub Me_Filtering(ByVal source As Object, ByVal e As GridViewFilteringEventArgs) Handles Me.Filtering
Try
Me.FilterDescriptors.Clear()
e.Cancel =
True
For Each d As FilterDescriptor In e.Added
Me.FilterDescriptors.Add(New FilterDescriptor(d.Member.ToString, d.Operator, d.Value, False))
Next
Catch ex As Exception
MsgBox(ex.Message)
End Try
End Sub
Can you please explain what is the purpose of the code? Does the built in filtering does not work for you?
Why you cancel the event and then manually add the filter descriptors to the gridview?
All the best,
Veselin Vasilev
the Telerik team

I need to filter data along with empty rows. That was the sample application to add filter descriptor. i'll manually give empty value as d.Value to display Empty Rows along with Filtered Data..
Thanx and Regards,
Azharshah H

I'll Use CompositeFilterDescriptor for that purpose.. But my problem is, I'm not able to add FilterDescriptor..
Thanx and Regards,
Azharshah H

I want to filter data and the filtered data should have empty rows. How to achieve it?