Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
WPF ComboBox Problem
Message
De
02/07/2010 15:29:37
 
 
À
02/07/2010 15:10:56
Timothy Bryan
Sharpline Consultants
Conroe, Texas, États-Unis
Information générale
Forum:
ASP.NET
Catégorie:
The Mere Mortals .NET Framework
Divers
Thread ID:
01471290
Message ID:
01471314
Vues:
38
Hi,

Isn't that the same thing since the SelectedValue binds TwoWay by default ?
Or is there some MM thing I'm not aware of ?


>What happens if you set the SelectedValue more like this:
>
>SelectedValue="{Binding Action, Mode=Default}" />
>
>
>Tim
>
>>Hi Viv,
>>
>>I notice also that after having removed the SelectedValue section from the XAML, any changes I make to the select values in the combobox are not saved back to the business object (and database).
>>
>>:(
>>
>>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
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform