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.
Syncfusion Feedback

Grid is in updating mode

Thread ID:

Created:

Updated:

Platform:

Replies:

49645 Sep 22,2006 09:46 AM UTC Sep 22,2006 11:54 AM UTC Windows Forms 1
loading
Tags: GridControl
Miguel
Asked On September 22, 2006 09:46 AM UTC

Hi,

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?

Regards,
Miguel

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.

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

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.

http://64.78.15.37/support/user/uploads/loaddatainbackgroundthread632254810888767829.zip

Let us know if you have any other questions.

Thanks,
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

;