Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
WPF ComboBox Problem
Message
From
02/07/2010 15:31:27
Guy Pardoe
Pardoe Development Corporation
Peterborough, New Hampshire, United States
 
 
To
02/07/2010 15:10:56
Timothy Bryan
Sharpline Consultants
Conroe, Texas, United States
General information
Forum:
ASP.NET
Category:
The Mere Mortals .NET Framework
Miscellaneous
Thread ID:
01471290
Message ID:
01471315
Views:
37
Hi Tim,

I've tried with Mode=Default, and TwoWay. I just retried it to make sure. Same result. I'm leaving it as Default for now.

However, after I put the SelectedValue section back in place (after trying Viv's first suggestion) I now notice that the combobox is regularly showing a value upon first view of the window -- although it's simply the first item in the list and is not synchronized with the primary business object's true value. I swear it was not doing this before. It wouldn't display a thing unless I forced a value into the SelectedIndex. Nevertheless, It seems like it's almost working correctly now. I just need the combobox to display the correct value upon first view of the window.

???




>Guy,
>
>What happens if you set the SelectedValue more like this:
>
>SelectedValue="{Binding Action, Mode=Default}" />
>
>
>Tim
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform