A
aido
Hi all,
I have bound a custom list object to a combo box's data source. This object
implements the ITypedList interface and returns a
PropertyDescriptorCollection to the fields in the list object. The
appropriate list field is then selected via the ComboBox's DisplayMember
property. Everything works fine up to this point. If however the combo box
Visible property is cycled it seems to lose the property descriptor
information; the underlying list is still intact but instead of field values
in the drop down list I get the type names of the objects in the list. This
combo forms part of a cell edit in a data grid so changing it's visibility
is critical. Is this a bug or have I missed something?
Thanks in advance,
Aido.
I have bound a custom list object to a combo box's data source. This object
implements the ITypedList interface and returns a
PropertyDescriptorCollection to the fields in the list object. The
appropriate list field is then selected via the ComboBox's DisplayMember
property. Everything works fine up to this point. If however the combo box
Visible property is cycled it seems to lose the property descriptor
information; the underlying list is still intact but instead of field values
in the drop down list I get the type names of the objects in the list. This
combo forms part of a cell edit in a data grid so changing it's visibility
is critical. Is this a bug or have I missed something?
Thanks in advance,
Aido.