Information générale
Catégorie:
The Mere Mortals .NET Framework
Titre:
DropDownList not Binding..
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
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement