The Syncfusion native Blazor components library offers 70+ UI and Data Viz web controls that are responsive and lightweight for building modern web apps.
.NET PDF framework is a high-performance and comprehensive library used to create, read, merge, split, secure, edit, view, and review PDF files in C#/VB.NET.
I get a "Grid in updating mode" exception occasionally when typing in the grid. I''m having difficultly tracking it down. Does anyone know what the grid is doing in "updating mode"?
Is it doing something internal that I should be checking for? If it is can I get round it with something like if(!grid.inupdatemode) then{}
OR is it something to do with grid.beginupdate() grid.endupdate() and me using it incorrectly?
Thanks
ADAdministrator 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.