We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. (Last updated on: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Strange behavior in gridGroupingControl

Thread ID:

Created:

Updated:

Platform:

Replies:

21530 Nov 13,2004 11:02 AM UTC Nov 13,2004 04:43 PM UTC WinForms 6
loading
Tags: GridControl
vbaker
Asked On November 13, 2004 11:02 AM UTC

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? --Van Baker

Administrator [Syncfusion]
Replied On November 13, 2004 12:48 PM UTC

What version are you using? Here is a little sample using 2.1.0.9 that seems to work OK. You might try your sample with the 3.0 beta as well. GGC_TripleMasterDetails_6714.zip

Administrator [Syncfusion]
Replied On November 13, 2004 12:57 PM UTC

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. MasterDetailForm_7540.zip It also shows how to enable binding for some grids and disable binding for others using the BindToCurrencyManager property. Stefan

vbaker
Replied On November 13, 2004 02:40 PM UTC

I am using version 2.1.0.9 that has the 2.1.0.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.) Thanks, --Van Baker

Administrator [Syncfusion]
Replied On November 13, 2004 03:27 PM UTC

I think you should try the 3.0 beta. It is stable.

vbaker
Replied On November 13, 2004 04:24 PM UTC

>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. Thanks, Van Baker

Administrator [Syncfusion]
Replied On November 13, 2004 04:43 PM UTC

Done

CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon

;