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.
According to my understanding CreateNewControl method available in GridDataBound class creates a new independent instance inheriting all aesthetic characteristics from the parent control, but it seems to be not working.
GridDataBoundGrid g1 = gridDataBoundGrid1.CreateNewControl(panel1,0,0) as GridDataBoundGrid;
g1.DataSource = null;
g1.DataMember = null;
g1.Refresh();
panel1.Controls.Add(g1);
g1.Show();
In above code even though i am assigning null value to datasource property but rows are still visible in both the grid, and modification done to underlying dataset reflects on both the grid.
Regards
Yogesh S
ADAdministrator Syncfusion Team January 4, 2005 05:08 PM UTC
In a splitter control which is what our code uses the CreateNewControl for, there is only one datasource. For example, you cannot have two grids in our GridRecordNavigationControl that have different datasources.
If you want a cloned grid that you can then assign a different datasource to, then you will have to do more work. Here is a forum thread with a sample.
http://64.78.18.34/Support/Forums/message.aspx?MessageID=21753