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
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