Hi,
I'm trying to figure out, what would cause an UCB to show as it's text the first time it it's Items collection.
The DataSource is set to a Windows BindingSource component, which contains the list of items to show when the drop down is open.
DisplayMember and ValueMember as set to "Name" which is a property on the objects contained in the Bindingsource's list source.
Value is bound to another BindingSource, which is bound to an instance object.
The instance object doesn't get the value displayed, but the combo displays it. Worse, of three forms, only one of them exhibits this behavior.
Any ideas?
I'm not quite sure what you mean when you say that the "instance object doesn't get the value displayed, but the combo displays it". What is or isn't being displayed? Are you talking about the DropDown portion, the Text portion, or both? I'm not really sure what could be causing this behavior offhand.
-Matt
Oh.. the Value property of the combobox was bound to a property of an object, and that object's property was not being set. However, this turned out to be a problem with choosing the wrong bindingsource, so there's nothing wrong with the Infragistics control. So it was my mistake; I was just about to post an update to this.
Thanks
Andy