How to update combo box selection before prompt
WPF
1
Posts
1
Posters
0
Views
1
Watching
-
Hi all, I have a combo box in my WPF application that displays a confirmation dialog (
MessageBox.Show()
) when certain items are clicked. Ie. I have the following options - Pending (default selection) - Completed - For Review When the "For Review" option is selected, I display the confirmation dialog. My problem is that the combo box isn't updated prior to the dialog being displayed. So, even though "For Review" was selected and the Selection_Changed event is firing, the combo box shows "Pending" while the dialog is being displayed. I've tried someDoEvents
loops and even tried changing the combo box selection programatically prior to showing the dialog, all to no avail. Any ideas?