load second combobox on demand

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

    Posted 17 May 2014 Link to this post


    i can't find how to load a second combobox on demand depending  what is selected in the first combobox? For Example, i select "Audi" in
    the first combobox and the second should load all Audis "A1, A2, A3, A4, A5,..." out of a csv-File!

    Best Regards
  2. Kalin
    Kalin avatar
    1283 posts

    Posted 20 May 2014 Link to this post

    Hello Rene,

    I'm attaching a sample project which demonstrates the desired scenario. When you select an item from the first ComboBox, the ItemsSource of the second one is modified in order to display the models of the selected brand. You can use the demonstrated approach and improve it in order to populate the data from csv files.

    Hope this will work for you.

    Check out Telerik Analytics, the service which allows developers to discover app usage patterns, analyze user data, log exceptions, solve problems and profile application performance at run time. Watch the videos and start improving your app based on facts, not hunches.
Back to Top