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

how to filter by the data in the member as the member

1 Answer 27 Views
DataFilter
This is a migrated thread and some comments may be shown as answers.
Syed Waqas
Top achievements
Rank 1
Syed Waqas asked on 03 Apr 2013, 12:37 PM
i have a collections of type questions where each question has an answer, i am adding each question text to RadDataFilter's ItemPropertDefinition as below

foreach(Question ThisQuestion in Questions)
{
 ItemPropertyDefinition priorityDefinition = new ItemPropertyDefinition("Answer", typeof(string), ThisQuestion.QuestionText);
 rdfilter_report.ItemPropertyDefinitions.Add(priorityDefinition);
}

i am handling FilterDescriptors_ItemChanged event to handle the FilterDescriptorCollection, but i am having problems how to translate FilterDescriptorCollection to a query to filter the list. i am trying to use data in my QuestionText property to act as a Member.

e.g
Show Question1 whose answer is Answer1.

i hope i made it clear enough what i am trying to achieve

 

 

 

 

 

1 Answer, 1 is accepted

Sort by
0
Syed Waqas
Top achievements
Rank 1
answered on 18 Apr 2013, 06:37 AM
thanks telerik for the quick support!!!
Tags
DataFilter
Asked by
Syed Waqas
Top achievements
Rank 1
Answers by
Syed Waqas
Top achievements
Rank 1
Share this question
or