Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
WPF ComboBox Problem
Message
De
02/07/2010 14:34:37
Guy Pardoe
Pardoe Development Corporation
Peterborough, New Hampshire, États-Unis
 
 
À
02/07/2010 14:18:33
Information générale
Forum:
ASP.NET
Catégorie:
The Mere Mortals .NET Framework
Divers
Thread ID:
01471290
Message ID:
01471306
Vues:
41
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>
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform