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.

Updating underline DataTable via a seperate thread

Thread ID:

Created:

Updated:

Platform:

Replies:

51826 Nov 14,2006 04:49 PM Nov 14,2006 11:25 PM Windows Forms 1
loading
Tags: GridControl
Administrator [Syncfusion]
Asked On November 14, 2006 04:49 PM

Hi there,

I have this problem. A GridListControl is bound to a DataTable, and a second thread inserts new rows to the DataTable. When it happens, the grid throws a "Grid is in updating mode" exception.

Can someone tell me how I should handle this situation?

Thanks very much,

Frank

Administrator [Syncfusion]
Replied On November 14, 2006 11:25 PM

Hi Frank,

The error which you have mentioned, is an indication of threading issues. Any calls into the GridListCotnrol must be done on the thread that creates it, and you can use GridListControl1.InvokeRequired to check for this. Please check the below Knowledge Base(KB) article link which discuss with the simillar issue.

http://www.syncfusion.com/support/kb/grid/Default.aspx?ToDo=view&questId=78

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.

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.

;