Two RadListBoxs with one Datasource Filter??

2 posts, 0 answers
  1. ITA
    ITA avatar
    383 posts
    Member since:
    Aug 2009

    Posted 10 May 2012 Link to this post

    Hi,

    i'm using two RadListBoxes with one Datasource. Is there any function to filter the items in the RadListBox?


    Example:
    ListBoxA             ListBoxB

    DataSource:
    New York, Status="A"
    L.A, Satus="A"
    Dallas, Status="B"

    Result Now:

    ListBoxA             ListBoxB
    New York            New York
    L.A.                    L.A.
    Dallas                 DAllas

    But i want to filter the status:
    ListBoxA             ListBoxB
    New York            Dallas
    L.A.                   
    Dallas               

    Thanks
    Regards
    Rene

  2. George
    Admin
    George avatar
    1332 posts

    Posted 15 May 2012 Link to this post

    Hello Rene,

    I would suggest using a CollectionViewSource for filtering the collection. Please, refer to the attached project. Hope this helps.

    Kind regards,
    George
    the Telerik team

    Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>

  3. UI for WPF is Visual Studio 2017 Ready
Back to Top