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: June 24, 2019).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

GridDataBoundGrid throwing exception during edit

Thread ID:





50999 Oct 25,2006 06:09 PM UTC Oct 31,2006 05:17 AM UTC WinForms 3
Tags: GridControl
James Mulvey
Asked On October 25, 2006 06:09 PM UTC

I have a GridDataBound grid bound to an IBindingList.
If a cell is edited the binder correctly sets the value of the property. However setting the value of the property causes an update to be fired on the IBindingList; which the grid doesn't like (IllegalProgramState exception; message "Grid in update".
Question: How can I prevent the change being written back to the binding list so that I can grid.EndUpdate() and then write the change back safely.



Administrator [Syncfusion]
Replied On October 26, 2006 10:31 AM UTC

Hi Mulveyja,

If you have our source code, then getting a debug build of the libraries would allow you to step down in our source and see exactly what line/object in that method is triggerring this exception. That would be the quickest way to see what is causing this. If you can upload a sample showing the problem, we can debug it here.

Are there multiple threads involved in your appilcation? If so, please check the Knowledge Base(KB) article link below.


Intermittant errors can be indications of threading issues. Any calls into the grid must be done on the thread that creates it, and you can use grid.InvokeRequired to check for this.


James Mulvey
Replied On October 30, 2006 04:41 PM UTC

No multiple threads involved.
Have debugged through and tracked down the issue:

If a Refresh() is fired on the grid during an edit commit (i.e. as a result of binding) then the grid stacks.
Looks like the Refresh() ought to have some check for Grid.Updating.

Administrator [Syncfusion]
Replied On October 31, 2006 05:17 AM UTC

Hi Jamulvey,

Is it possible for you to upload us more details or modify the browser sample to reproduce the issue here? So we can debug the issue as early as possible.

Thanks for your interest in our products.

Best regards,


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.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

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

Live Chat Icon For mobile
Live Chat Icon