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.
Up arrow icon