I have a combo box that I mapped to a list that exists in my viewmodel. Now that users make a selection in this combo box, I want the second combo box to update its contents.
So, for example, combobox1 is State and combobox2 should only contain Zipcodes of this state.
But in my case, I do not have predefined lists before the distribution for combobox2, I need to go from db.
Also, if necessary, I could get all the potential values for combobox2 (for each value of combobox1) before starting, but I would like to avoid this if I can.
How to implement WPF and use MVVM? I am new to wpf \ databinding \ mvvm in this world.
cody source
share