Home Forums WinForms controls Xceed Grid for WinForms Cross-thread operation not valid Reply To: Cross-thread operation not valid

User (Old forums)
Post count: 23064

Would gridControl1.Clear() possibly casue the cross-thread operation exception as well?

I have a refresh method which would call gridControl1.Clear() and then re-populate the grid. It seems to me that if I refresh the grid, the cross-thread exception will then throw out at some point. And if I never refresh the grid, the program seems running fine without the exception thrown. However, I am not certain if it is related to the gridControl1.Clear() method or it is some other factors which cause the cross-thread exception.


Imported from legacy forums. Posted by Sop (had 765 views)