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;
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.
ADAdministrator Syncfusion Team January 4, 2005 12:08 PM
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.