serialization problem with Databound Grid

I''m using strong typed collections with IBindingList, ISerializable interfaces. When I tried to use Databound grid to edit this collection and then attempted to serialize I got error: CurrencyManager is not marked as serializable I tried to remove using DataBound grid and serialization started to work. I''m not using Currency manager directly in my code. Should I disconnect from datasource in a some special way?

2 Replies

AD Administrator Syncfusion Team May 11, 2004 11:16 AM UTC

I am not sure why serializing your collection would be affected by the GridDataBoundGrid unless you are also trying to serialize out a GridDataBoundGrid at the same time. Can you post a sample project showing the error?


AD Administrator Syncfusion Team May 11, 2004 12:29 PM UTC

sorry, it was my fault. I implemented wrong (default) serialization, which serialized event handlers, one of them were linked to form''s currencymanager

Loader.
Up arrow icon