Not sure what is causeing this, but whenever I select an item in the dropdown combo it displays: "SYSTEM.RUNTIME.SERIALIZATION.EXTENSIONDATAOBJECT"... the dropdown items look fine.
Does anyone know what is causing this and what I need to do to correctly display the selected item?
The ValueMember and DisplayMember properties control which column is saved and which column is displayed to the user.
Ok... I looked at the returned object and that column is in there, but it is null. However, it is hidden in the multicolumn dropdown and shouldn't be selected. How do I select the column I am looking for (i.e., the "full name" column)?
I'll take a look, but here is an edited version of the service interface that is being bound to the control:
}
I'm not sure I follow you. The number of rows has nothing to do with it. Your ValueMember is pointing to a field that contains objects - or at least that's my guess. You are probably hiding the column on the dropdown. Try not hiding it and you will see that every cell in that column probably shows the same text you are getting here. This is because the combo will display the ToString of the object. If your object doesn't override ToString, then the base implementation returns the type name.
That's the part I don't understand. I have about ten rows in the dropdown in this occurs no matter WHICH one I select.