load second combobox on demand

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

    Posted 17 May 2014 Link to this post

    Hi,

    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!

    Thanks
    Best Regards
    Rene
  2. Kalin
    Admin
    Kalin avatar
    1207 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.

    Regards,
    Kalin
    Telerik
     
    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.
     
  3. UI for WPF is Visual Studio 2017 Ready
Back to Top