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

Two RadListBoxs with one Datasource Filter??

1 Answer 41 Views
ListBox
This is a migrated thread and some comments may be shown as answers.
ITA
Top achievements
Rank 1
ITA asked on 10 May 2012, 01:15 PM
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

1 Answer, 1 is accepted

Sort by
0
George
Telerik team
answered on 15 May 2012, 04:11 PM
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 >>

Tags
ListBox
Asked by
ITA
Top achievements
Rank 1
Answers by
George
Telerik team
Share this question
or