We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

serialization problem with Databound Grid

Thread ID:





13790 May 11,2004 09:48 AM UTC May 11,2004 12:29 PM UTC WinForms 2
Tags: GridControl
Administrator [Syncfusion]
Asked On May 11, 2004 09:48 AM UTC

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?

Administrator [Syncfusion]
Replied On 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?

Administrator [Syncfusion]
Replied On 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


This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon

Live Chat Icon For mobile
Live Chat Icon