Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
WPF ComboBox Problem
Message
De
02/07/2010 16:27:49
Timothy Bryan
Sharpline Consultants
Conroe, Texas, États-Unis
 
 
À
02/07/2010 15:31:27
Guy Pardoe
Pardoe Development Corporation
Peterborough, New Hampshire, États-Unis
Information générale
Forum:
ASP.NET
Catégorie:
The Mere Mortals .NET Framework
Divers
Thread ID:
01471290
Message ID:
01471323
Vues:
36
Guy,

What is the name of the following:
Business object where Action comes from:
Name of the primary key in the action table:
Name of the business object of your parent:
Name of the foreign key in the parent:

Also, do you have a primary key set on the Action table in SQL?
Tim

>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
Timothy Bryan
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform