This is a migrated thread and some comments may be shown as answers.

Filter GridView

2 Answers 57 Views
GridView
This is a migrated thread and some comments may be shown as answers.
Orit
Top achievements
Rank 1
Orit asked on 07 Jun 2009, 09:10 AM
I download a project from this forum
it was ok
but when I copy the code to my project it fail

this is the code 

var

 

masterFilter = (CompositeFilterDescription)(this.RadGridView1.FilterDescription);

 

 

var subjectFilter = (FieldFilterDescription)masterFilter.FilterDescriptions[0];

 

 

subjectFilter.Values.Add(

"Cats");

this is the error
Error 1 'Telerik.Windows.Data.FieldFilterDescription' does not contain a definition for 'Values' and no extension method 'Values' accepting a first argument of type 'Telerik.Windows.Data.FieldFilterDescription' could be found (are you missing a using directive or an assembly reference?)

 

2 Answers, 1 is accepted

Sort by
0
Vlad
Telerik team
answered on 08 Jun 2009, 05:36 AM
Hello Orit,

Can you post more info about the project from the forum and desired result?

Sincerely yours,
Vlad
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Check out the tips for optimizing your support resource searches.
0
Orit
Top achievements
Rank 1
answered on 08 Jun 2009, 06:04 AM
I solved this problem in another way
thank you.
Tags
GridView
Asked by
Orit
Top achievements
Rank 1
Answers by
Vlad
Telerik team
Orit
Top achievements
Rank 1
Share this question
or