AD
Administrator
Syncfusion Team
June 20, 2005 09:09 AM UTC
There is a property, grid.Updating that indicates that a grid.BeginUpdate has been called, and that the terminating grid.EndUpdate has not yet been called. So, grid.Updating == true indicates that painting on the grid should be suspended at the present time. The exception you see is because something has caused grid.OnPaint to be called, when painting has been suspended, and this indicates something is not right. The most common reason for this problem is multiple thread issues. Are you trying to use mulitple threads? If so, are all calls into the grid protected by grid.InvoleRequired checks?
If you post a call stack from this exception, that may (or may not if it is a threading issue) give some insight into this problem.