The Syncfusion native Blazor components library offers 70+ UI and Data Viz web controls that are responsive and lightweight for building modern web apps.
.NET PDF framework is a high-performance and comprehensive library used to create, read, merge, split, secure, edit, view, and review PDF files in C#/VB.NET.
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
ADAdministrator 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.