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.
Unfortunately, activation email could not send to your email. Please try again.

Seemingly random exception in a GDBG

Thread ID:

Created:

Updated:

Platform:

Replies:

38645 Dec 15,2005 12:21 PM Dec 15,2005 01:51 PM Windows Forms 2
loading
Tags: GridControl
Administrator [Syncfusion]
Asked On December 15, 2005 12:21 PM

I am having a seemingly random exception being thrown by a GridDataBoundGrid (v2.1.09). Essentially, I have a DataTable containing records from a database bound to the grid. The user is able to select a record, click a delete button, and the record is removed from the database and a new DataTable (refreshed from the database) is bound to the grid. The problem is that frequently, after deleting one or several records in sequence, the form containing the grid becomes unresponsive. Sometimes the grid will turn white with a red "X" through it, and sometimes the JIT Debugger will catch an exception (there are TWO possible exceptions that may be thrown, see attached .txt file). When the JIT debugger catches and exception the stacktrace is limited to Syncfusion and .Net Framework assemblies. To this point, I have been unable to catch an exception in the development environment, which is making it difficult to narrow down the cause. An exception would seemingly reproduceable only in the production environment. Can anyone tell me, by looking at the stacktraces, what scenarios might lead to either of these exceptions? Any help is really appreciated! TIA Dave

JITDebuggerExceptions.zip.zip

Administrator [Syncfusion]
Replied On December 15, 2005 12:44 PM

Are you using multiple threads? If so, you should upgrade to later versions on the grid. In version 2, the grid source was not doing InVokeRequired checks to make sure that IBindingList changed events were being handled on the grid''s thread.

Administrator [Syncfusion]
Replied On December 15, 2005 01:51 PM

Thanks Clay! It was a threading issue. I have been able to work around the problem. Thanks for putting me on the right track. Dave >Are you using multiple threads? > >If so, you should upgrade to later versions on the grid. In version 2, the grid source was not doing InVokeRequired checks to make sure that IBindingList changed events were being handled on the grid''s thread.

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.

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.

;