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

3 data itemsource for RadCombo

1 Answer 59 Views
ComboBox
This is a migrated thread and some comments may be shown as answers.
Ludovic Gerbault
Top achievements
Rank 1
Ludovic Gerbault asked on 05 Sep 2009, 08:02 AM
Hello

In my scenario, I have 2 RadComboBox and 2 DataTable as ItemsSource

the datatables have 3 colonnes and several rows, the columns being named "ID", "Name", "IDForeign"

For the first datatable, the idforeign columns is blank, it isn't used.
The IDs in the first datatable matches the idforeign in the second datatable.

How would I do to bind the two datatables to the radComboBoxes so that when I change the first one, I could "filter" the second one to display only the records where ID == IDForeign.

PS : The Scenario might not be limited to 2 RadComboBoxes, there can 3 or more depending on the user needs.

1 Answer, 1 is accepted

Sort by
0
Valeri Hristov
Telerik team
answered on 08 Sep 2009, 12:17 PM
Hello,

I created a simple example, that demonstrates the basics of your scenario. You will have to add the code for loading the data from the web service, since it depends on your requirements.

Kind regards,
Valeri Hristov
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
Tags
ComboBox
Asked by
Ludovic Gerbault
Top achievements
Rank 1
Answers by
Valeri Hristov
Telerik team
Share this question
or