Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
DropDownList not Binding..
Message
De
09/07/2004 16:30:44
 
 
À
Tous
Information générale
Forum:
ASP.NET
Catégorie:
The Mere Mortals .NET Framework
Titre:
DropDownList not Binding..
Divers
Thread ID:
00922720
Message ID:
00922720
Vues:
60
I want to create a dropdownlist, xxDropDownList, derived from mmDropDownList that will display a list based on a custom property set in xxDropDownList. This list populates the Items from a table of lists based on the List property set. For example I have a table ProjectList that contains list like States, Gender, Ethnicity etc. used by xxDropDownList to populate the list items based on the custom list property.

The class I created has no problem generating and populating the list based on the List property however I can not get MM to bind to it.

I set the BindingValueSource to the business object and BindingValueSourceMember to the column that I want to bind to but it will not bind.

Why are BindingSource , BindingSourceMember , and BindingSourceValueMember required for the dropdownlist to bindback the BindingValueSource?

How can I add Items to a dropdownlist derived from mmDropDownList, not using a business object, and have MM bind and bindback to a column I want updated?


Thanks in Advance,


Terry Carroll
Répondre
Fil
Voir

Click here to load this message in the networking platform