Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
WPF ComboBox Problem
Message
De
02/07/2010 15:31:27
Guy Pardoe
Pardoe Development Corporation
Peterborough, New Hampshire, États-Unis
 
 
À
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:
01471315
Vues:
38
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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform