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

UserData

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

1 Reply

AD Administrator Syncfusion Team November 4, 2004 09:38 AM UTC

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.

Loader.
Live Chat Icon For mobile
Up arrow icon