3 data itemsource for RadCombo

2 posts, 0 answers
  1. Ludovic Gerbault
    Ludovic Gerbault avatar
    226 posts
    Member since:
    Apr 2009

    Posted 05 Sep 2009 Link to this post


    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.
  2. Valeri Hristov
    Valeri Hristov avatar
    2252 posts

    Posted 08 Sep 2009 Link to this post


    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.
Back to Top