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

Error occurs when row inserted via binding source into GridGrouping control

Thread ID:

Created:

Updated:

Platform:

Replies:

61341 May 23,2007 04:47 PM UTC May 23,2007 11:14 PM UTC WinForms 2
loading
Tags: Grouping
Michael Offner
Asked On May 23, 2007 04:47 PM UTC

Hello,

I have a GCC bound to a Forms.BindingSource. When I insert a row via my DataBinding source, I get an exception on the grid grouping control. I call BindingSource.AddNew() a few times, and get the exception.

Here is the exception dialog contents:

An unhandled exception of type 'System.ArgumentOutOfRangeException' occurred in Syncfusion.Shared.Base.dll

Additional information: Count = 2 FilteredRecordCount = 0 YAmountCount = 2 ElementCount = 0 RecordCount = 0 CustomCount = 0 VisibleCustomCount = 0 out of range Count = 0 FilteredRecordCount = 0 YAmountCount = 0 ElementCount = 0 RecordCount = 0 CustomCount = 0 VisibleCustomCount = 0

Thanks for your help on this,
-Mike

haneefm [Syncfusion]
Replied On May 23, 2007 06:36 PM UTC

Hi Mikeo,

Try calling the EndEdit/CancelEdit method after calling the AddNew method in BindingSource. Please try this suggestion and let me know if this helps.

Sample : GGCBindingSource.zip

Best regards,
Haneef

Michael Offner
Replied On May 23, 2007 11:14 PM UTC

Hi Haneef,

Thank you again for your quick response on this question. Using this suggestion in conjunction with the grid rebinding technique that you sent me yesterday, solved the problem!!

Thank you again for helping out with this!
-Mike

>Hi Mikeo,

Try calling the EndEdit/CancelEdit method after calling the AddNew method in BindingSource. Please try this suggestion and let me know if this helps.

Sample : GGCBindingSource.zip

Best regards,
Haneef

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

;