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

Grid is in updating mode

Thread ID:





49645 Sep 22,2006 09:46 AM UTC Sep 22,2006 11:54 AM UTC WinForms 1
Tags: GridControl
Asked On September 22, 2006 09:46 AM UTC


I''m using BeginUpdate and EndUpdate and changing cell values in between. However sporadically I get the following error:

Exception Source: Syncfusion.Grid.Windows Exception Type: System.InvalidProgramException Exception Message: Grid is in updating mode Exception Target Site: OnPaint

---- Stack Trace ----
Syncfusion.Windows.Forms.Grid.GridControlBase.OnPaint(pe As PaintEventArgs)
GlobalNoticeboard.exe: N 00730
System.Windows.Forms.Control.PaintWithErrorHandling(e As PaintEventArgs, layer As Int16, disposeEventArgs As Boolean)
GlobalNoticeboard.exe: N 00196
System.Windows.Forms.Control.WmPaint(m As Message&)
GlobalNoticeboard.exe: N 00500
System.Windows.Forms.Control.WndProc(m As Message&)
GlobalNoticeboard.exe: N 00656
Syncfusion.Windows.Forms.ScrollControl.WndProc(msg As Message&)
GlobalNoticeboard.exe: N 00613
Syncfusion.Windows.Forms.Grid.GridControlBase.WndProc(msg As Message&)
GlobalNoticeboard.exe: N 00328
System.Windows.Forms.ControlNativeWindow.OnMessage(m As Message&)
GlobalNoticeboard.exe: N 00010
System.Windows.Forms.ControlNativeWindow.WndProc(m As Message&)
GlobalNoticeboard.exe: N 00187
System.Windows.Forms.NativeWindow.Callback(hWnd As IntPtr, msg As Int32, wparam As IntPtr, lparam As IntPtr)
GlobalNoticeboard.exe: N 00047

Strangely the frequency with which this error occurs increases if I hide the column header row.

Any ideas?


Administrator [Syncfusion]
Replied On September 22, 2006 11:54 AM UTC

Hi Miguel,

The error which you have mentioned, is an indication of threading issues.

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.

Let us know if you have any other questions.



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

or the page will be automatically redirected to 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