Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
WPF ComboBox Problem
Message
From
02/07/2010 14:34:37
Guy Pardoe
Pardoe Development Corporation
Peterborough, New Hampshire, United States
 
 
General information
Forum:
ASP.NET
Category:
The Mere Mortals .NET Framework
Miscellaneous
Thread ID:
01471290
Message ID:
01471306
Views:
40
Hi Viv,

OK... I removed the SelectedValue section and re-ran a test. I now see data being displayed in the combo, but it is the first item in the entity list. It looks like we've gotten one step closer (at least I see something now). But the combo box is not being synchronized with the business object when the form opens up.

Guy



>Hi,
>As posted I'd expect that to put some initial value in the ComboBox. Did you remove the
>SelectedValue="{Binding Path=Action, Mode=TwoWay}"
>?
>
>>I've tried that. Same results. :(
>>
>>
>>>I'm not very familiar with MM but just maybe:
<ComboBox x:Name="cboActions" DisplayMemberPath="ActionName" SelectedValuePath="ActionCode"
>>>           IsSynchronizedWithCurrentItem="True"></ComboBox>
Previous
Reply
Map
View

Click here to load this message in the networking platform