I''m getting strange behavior when using a GridGroupingControl on the "detail" side of a master-detail relationship.
When the Master selection is changed, the detail grid updates-- until a certain number of times. Then, either it stops updating or an exception is thrown in the syncfusion.grouping.dll.
To illustrate, in the "TripleMasterDetailGrid" demo, I replaced the detail grid (gridDataBoundGrid2) with a gridGroupingControl, and set its DataSource and DataMember to parentTable and "ParentToChild".
When I run it, after selecting a value from the Master grid the second time, the program crashes and I see the following output in the debugger:
catched at Syncfusion.Windows.Forms.Grid.Grouping.GridTableControl.SynchronizeGridWithEngine() in :line 0
An unhandled exception of type ''System.NullReferenceException'' occurred in syncfusion.grouping.dll
Additional information: Object reference not set to an instance of an object.
Is there something I should be doing to prevent this, or is it a problem in the gridGroupingControl?
ADAdministrator Syncfusion Team November 13, 2004 07:48 AM
What version are you using?
Here is a little sample using 22.214.171.124 that seems to work OK. You might try your sample with the 3.0 beta as well.
ADAdministrator Syncfusion Team November 13, 2004 07:57 AM
Find attached also a sample that was created for for version 3.0. We will most likely include that as sample in the final release.
It also shows how to enable binding for some grids and disable binding for others using the BindToCurrencyManager property.
VBvbakerNovember 13, 2004 09:40 AM
I am using version 126.96.36.199 that has the 188.8.131.52 patch instaled (which fixed another issue with the GGC). I built and ran your GGCTripleMasterDetail sample and it exhibits the same behavior I reported above.
Is there another patch, or is the version 3 beta pretty stable? (My app is in early testing phase with the customer and stability is very important.)
ADAdministrator Syncfusion Team November 13, 2004 10:27 AM
I think you should try the 3.0 beta. It is stable.
VBvbakerNovember 13, 2004 11:24 AM
>I think you should try the 3.0 beta. It is stable.
Can you email me the 3.0 beta link? I don''t have it.
ADAdministrator Syncfusion Team November 13, 2004 11:43 AM