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

2 posts, 0 answers
  1. Syed Waqas
    Syed Waqas avatar
    5 posts
    Member since:
    Nov 2012

    Posted 03 Apr 2013 Link to this post

    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

     

     

     

     

     

  2. Syed Waqas
    Syed Waqas avatar
    5 posts
    Member since:
    Nov 2012

    Posted 18 Apr 2013 Link to this post

    thanks telerik for the quick support!!!
  3. DevCraft banner
Back to Top