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. Image for the cookie policy date
close icon

Error : Grid is in update mode

Hi,

I am getting the follwing error message while trying to edit the values in the grid.
Pls let me know could be the cause of the below error and solution.

Thanks
Ravi

Grid is in updating mode
at Syncfusion.Windows.Forms.Grid.GridControlBase.OnPaint(PaintEventArgs pe)
at System.Windows.Forms.Control.PaintWithErrorHandling(PaintEventArgs e, Int16 layer, Boolean disposeEventArgs)
at System.Windows.Forms.Control.WmPaint(Message& m)
at System.Windows.Forms.Control.WndProc(Message& m)
at Syncfusion.Windows.Forms.ScrollControl.WndProc(Message& msg)
at Syncfusion.Windows.Forms.Grid.GridControlBase.WndProc(Message& msg)
at System.Windows.Forms.ControlNativeWindow.OnMessage(Message& m)
at System.Windows.Forms.ControlNativeWindow.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
---

1 Reply

AD Administrator Syncfusion Team February 15, 2007 08:36 PM UTC

Hi Ravi,

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

Loader.
Live Chat Icon For mobile
Up arrow icon