Click here to Skip to main content
15,897,371 members
Home / Discussions / WPF
   

WPF

 
GeneralRe: populate combobox with names and ids Pin
_Maxxx_6-Feb-11 16:27
professional_Maxxx_6-Feb-11 16:27 
QuestionAn MVVM way to know when a database update is complete in order to navigate to another page. Pin
ToddHileHoffer3-Feb-11 10:09
ToddHileHoffer3-Feb-11 10:09 
AnswerRe: An MVVM way to know when a database update is complete in order to navigate to another page. Pin
Pete O'Hanlon3-Feb-11 11:45
mvePete O'Hanlon3-Feb-11 11:45 
AnswerRe: An MVVM way to know when a database update is complete in order to navigate to another page. Pin
_Maxxx_3-Feb-11 14:32
professional_Maxxx_3-Feb-11 14:32 
AnswerRe: An MVVM way to know when a database update is complete in order to navigate to another page. Pin
Abhinav S3-Feb-11 21:33
Abhinav S3-Feb-11 21:33 
GeneralRe: An MVVM way to know when a database update is complete in order to navigate to another page. Pin
ToddHileHoffer4-Feb-11 2:33
ToddHileHoffer4-Feb-11 2:33 
GeneralRe: An MVVM way to know when a database update is complete in order to navigate to another page. Pin
Abhinav S7-Feb-11 19:14
Abhinav S7-Feb-11 19:14 
AnswerRe: An MVVM way to know when a database update is complete in order to navigate to another page. Pin
Mycroft Holmes7-Feb-11 19:28
professionalMycroft Holmes7-Feb-11 19:28 
We use the MVVMlight framework from Galasoft, it has a messaging construct. In the completed method we send the name of the method via a Completed message pump, the relevant view or viewmodel subscribes to the Completed message, checks the message content and takes action as appropriate.

We use a VERY simplified structure, I know it can get a lot more complex but this meets our current needs.

However I rarely (never) use it to navigate as the datacontext generally meets our needs (data refreshes after the call and updates the UI via onpropertychanged)
Never underestimate the power of human stupidity
RAH

QuestionAdd Controls Dynamically Using MVVM Pin
Kevin Marois3-Feb-11 8:20
professionalKevin Marois3-Feb-11 8:20 
AnswerRe: Add Controls Dynamically Using MVVM Pin
dasblinkenlight3-Feb-11 8:50
dasblinkenlight3-Feb-11 8:50 
GeneralRe: Add Controls Dynamically Using MVVM Pin
Kevin Marois3-Feb-11 9:04
professionalKevin Marois3-Feb-11 9:04 
AnswerRe: Add Controls Dynamically Using MVVM Pin
RobCroll3-Feb-11 13:37
RobCroll3-Feb-11 13:37 
AnswerRe: Add Controls Dynamically Using MVVM Pin
_Maxxx_3-Feb-11 15:31
professional_Maxxx_3-Feb-11 15:31 
AnswerRe: Add Controls Dynamically Using MVVM Pin
_Maxxx_3-Feb-11 15:54
professional_Maxxx_3-Feb-11 15:54 
QuestionHelp editing Xml file from code - C# Pin
jadughar3-Feb-11 5:46
jadughar3-Feb-11 5:46 
AnswerRe: Help editing Xml file from code - C# Pin
Pete O'Hanlon3-Feb-11 8:03
mvePete O'Hanlon3-Feb-11 8:03 
AnswerRe: Help editing Xml file from code - C# Pin
RobCroll3-Feb-11 13:54
RobCroll3-Feb-11 13:54 
AnswerRe: Help editing Xml file from code - C# Pin
Abhinav S3-Feb-11 20:30
Abhinav S3-Feb-11 20:30 
AnswerRe: Help editing Xml file from code - C# Pin
jadughar3-Feb-11 21:26
jadughar3-Feb-11 21:26 
Questionwpf Pin
arkiboys2-Feb-11 11:54
arkiboys2-Feb-11 11:54 
AnswerRe: wpf Pin
Pete O'Hanlon3-Feb-11 0:04
mvePete O'Hanlon3-Feb-11 0:04 
GeneralRe: wpf Pin
arkiboys3-Feb-11 0:17
arkiboys3-Feb-11 0:17 
Generalwpf, populate combobox accordingly Pin
arkiboys3-Feb-11 10:48
arkiboys3-Feb-11 10:48 
GeneralRe: wpf, populate combobox accordingly Pin
Pete O'Hanlon3-Feb-11 11:47
mvePete O'Hanlon3-Feb-11 11:47 
GeneralRe: wpf, populate combobox accordingly Pin
arkiboys3-Feb-11 11:52
arkiboys3-Feb-11 11:52 

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.