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.
We need to associate additional data with some grid cells. We therefore created a custom serializable class to hold the additional data for a cell and assigned the instance to GridStyleInfo.CellValue2. We then serialized the Grid to an xml file which worked fine (the xml file looked OK (it had xsi:type information with the class name of our custom class and the class data).
But deserialization fails (it works if we don't assign any CustomClass instances to CellValue2). Do we need to register the custom class for deserialization in a particular way? We tried to play around with XmlInclude (e.g. [XmlInclude(typeof(MyCustomClass))]) but without success.
Is this not possible? We can not use the grid without this feature.