General information
Category:
The Mere Mortals .NET Framework
Title:
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
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only