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.
Unfortunately, activation email could not send to your email. Please try again.

UserData

Thread ID:

Created:

Updated:

Platform:

Replies:

21186 Nov 4,2004 12:27 AM Nov 4,2004 04:38 AM Windows Forms 1
loading
Tags: GridControl
Louis Lebrun
Asked On November 4, 2004 12:27 AM

Hi, I add some entries to my GridModel.UserData. Then I save my GridModel using SaveBinary. But when I load it afterwards, I can''t retrieve any userData entries. Thank''s for your help. Regards, Louis

Administrator [Syncfusion]
Replied On November 4, 2004 04:38 AM

In our code, the field holding user data is specifically marked as [NonSerialized]. So, it is not serialized, and data cannot be persisted using it. If you want to serialized some custom data object along with the grid, set it into a cell''s style.Tag property. Then if your object implements ISerializable or is marked Serializable attribute, then it woul dbe serilzied as part of LoadBinary/SaveBinary calls.

CONFIRMATION

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.

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.

;