Click here to Skip to main content
15,911,139 members
Home / Discussions / WPF
   

WPF

 
GeneralRe: Another MVVM questionn regarding updating info on other controls? Pin
Pete O'Hanlon22-Jul-12 21:52
mvePete O'Hanlon22-Jul-12 21:52 
QuestionAdding datagrid cell images at runtime doesn't appear in cell Pin
alleyes20-Jul-12 8:40
professionalalleyes20-Jul-12 8:40 
GeneralRe: Adding datagrid cell images at runtime doesn't appear in cell Pin
Christian Amado21-Jul-12 12:03
professionalChristian Amado21-Jul-12 12:03 
GeneralRe: Adding datagrid cell images at runtime doesn't appear in cell Pin
alleyes22-Jul-12 17:07
professionalalleyes22-Jul-12 17:07 
GeneralUnintended Save Issue WPF Pin
eddieangel20-Jul-12 7:20
eddieangel20-Jul-12 7:20 
GeneralRe: Unintended Save Issue WPF Pin
Ian Shlasko20-Jul-12 7:31
Ian Shlasko20-Jul-12 7:31 
GeneralRe: Unintended Save Issue WPF Pin
eddieangel20-Jul-12 7:37
eddieangel20-Jul-12 7:37 
GeneralRe: Unintended Save Issue WPF Pin
Ian Shlasko20-Jul-12 7:45
Ian Shlasko20-Jul-12 7:45 
Well, let's look at your particular case...

Since your model property seems to match the item in the list (Correct me if I'm wrong), you don't need to worry about the SelectedValue/Path properties. So take those out of your first combo, and that one should work just fine.

As for the second one, you want its ItemsSource to change based on the SelectedCategory, right? Whatever your LoadDefects function is modifying, that's what you want the second combo's ItemsSource to bind to.

You should also have a SelectedDefect property (Or something of the sort), that the second combobox should bind to in its SelectedItem property. The LoadDefects function can set the SelectedDefect to an initial guess when it updates the collection.

So in your case, I don't think you really need SelectedValue/Path at all.
Proud to have finally moved to the A-Ark. Which one are you in?
Author of the Guardians Saga (Sci-Fi/Fantasy novels)

GeneralRe: Unintended Save Issue WPF Pin
eddieangel20-Jul-12 7:49
eddieangel20-Jul-12 7:49 
GeneralRe: Unintended Save Issue WPF Pin
Ian Shlasko20-Jul-12 8:16
Ian Shlasko20-Jul-12 8:16 
QuestionButton Style Question Pin
Kevin Marois19-Jul-12 9:21
professionalKevin Marois19-Jul-12 9:21 
AnswerRe: Button Style Question Pin
Wayne Gaylard19-Jul-12 20:15
professionalWayne Gaylard19-Jul-12 20:15 
Questiontip for scrollviewer Pin
caradri18-Jul-12 23:10
caradri18-Jul-12 23:10 
GeneralRe: tip for scrollviewer Pin
Wayne Gaylard18-Jul-12 23:38
professionalWayne Gaylard18-Jul-12 23:38 
GeneralRe: tip for scrollviewer Pin
caradri19-Jul-12 1:16
caradri19-Jul-12 1:16 
GeneralRe: tip for scrollviewer Pin
Mycroft Holmes19-Jul-12 12:48
professionalMycroft Holmes19-Jul-12 12:48 
GeneralRe: tip for scrollviewer Pin
Christian Amado19-Jul-12 17:43
professionalChristian Amado19-Jul-12 17:43 
GeneralRe: tip for scrollviewer Pin
Pete O'Hanlon19-Jul-12 20:20
mvePete O'Hanlon19-Jul-12 20:20 
GeneralRe: tip for scrollviewer Pin
Mycroft Holmes19-Jul-12 23:19
professionalMycroft Holmes19-Jul-12 23:19 
GeneralRe: tip for scrollviewer Pin
Pete O'Hanlon19-Jul-12 23:27
mvePete O'Hanlon19-Jul-12 23:27 
AnswerRe: tip for scrollviewer Pin
Christian Amado20-Jul-12 0:56
professionalChristian Amado20-Jul-12 0:56 
GeneralRe: tip for scrollviewer Pin
Pete O'Hanlon20-Jul-12 1:32
mvePete O'Hanlon20-Jul-12 1:32 
AnswerRe: tip for scrollviewer Pin
Christian Amado20-Jul-12 3:37
professionalChristian Amado20-Jul-12 3:37 
GeneralRe: tip for scrollviewer Pin
Pete O'Hanlon20-Jul-12 4:03
mvePete O'Hanlon20-Jul-12 4:03 
QuestionHow to open second page on click event Pin
Vikash Yadav16-Jul-12 23:15
Vikash Yadav16-Jul-12 23:15 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.