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 just want to copy the whole content of the GridControl grid and store in some collection.
I am doing like below
System.IO.MemoryStream s = new System.IO.MemoryStream();
gd.SaveBinary(s);
m_UserFilterHashTable.Add(filterName,s);
and retrieving like
GridControl grid = new GridControl(GridModel.LoadBinary(
(System.IO.MemoryStream)
myEnumerator.Value));
m_RowFilters.GridCtrl = grid1;
so i am getting below error
End of Stream encountered before parsing was completed.
Is there any other method where we can copy whole content of the Gridcontrol.
ADAdministrator Syncfusion Team December 22, 2004 07:20 AM UTC
Use LoadBinary/SaveBinary on the GridModel. Here is a minimal sample showing how you can use LoadBinary/SaveBinary to create a duplicate grid.
DuplicateGrid_8564.zip