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

load second combobox on demand

1 Answer 65 Views
ComboBox
This is a migrated thread and some comments may be shown as answers.
ITA
Top achievements
Rank 1
ITA asked on 17 May 2014, 05:09 PM
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

1 Answer, 1 is accepted

Sort by
0
Kalin
Telerik team
answered on 20 May 2014, 01:33 PM
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.
 
Tags
ComboBox
Asked by
ITA
Top achievements
Rank 1
Answers by
Kalin
Telerik team
Share this question
or