Home Forums WinForms controls Xceed Grid for WinForms Exception resulting from OnPaint Reply To: Exception resulting from OnPaint

User (Old forums)
Member
Post count: 23064

I had a similar issue with the grid displaying the red X. After a couple of weeks of trial and error I believe I have isolated the issue. I was attempting to add rows to the grid on a separate thread that could be call asynchronously. When I changed the code to add to the grid from the UI thread synchronously this resolved the problem. I also tested using method invokers with the asynchronous call but the red x still appeared. Hope this will be off help.

Imported from legacy forums. Posted by Matthew (had 3590 views)