Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
DropDownList not Binding..
Message
From
09/07/2004 16:30:44
 
 
To
All
General information
Forum:
ASP.NET
Category:
The Mere Mortals .NET Framework
Title:
DropDownList not Binding..
Miscellaneous
Thread ID:
00922720
Message ID:
00922720
Views:
59
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
Map
View

Click here to load this message in the networking platform