G
Guest
Hi Anyone,
I am beyond frustrated with the .NET databinding. I have custom business
objects and collections for each which implement the IBindingList interface
and inherit from the CollectionBase. Several of my business objects contain
collections of other business objects up to three or four levels deep. For
the most part they work perfectly but there is one case for which everything
goes haywire. When my objects are bound to listboxes and the collections are
empty the CurrencyManager keeps trying to call the AddNew method of the
IBindingList interface. I don't see how this is possible considering the
AllowNew property is set to false on all of my objects. I don't work in
datagrids so have no need to implement this portion of the interface. I need
help...
Thanks in advance,
Nathan
I am beyond frustrated with the .NET databinding. I have custom business
objects and collections for each which implement the IBindingList interface
and inherit from the CollectionBase. Several of my business objects contain
collections of other business objects up to three or four levels deep. For
the most part they work perfectly but there is one case for which everything
goes haywire. When my objects are bound to listboxes and the collections are
empty the CurrencyManager keeps trying to call the AddNew method of the
IBindingList interface. I don't see how this is possible considering the
AllowNew property is set to false on all of my objects. I don't work in
datagrids so have no need to implement this portion of the interface. I need
help...
Thanks in advance,
Nathan