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

The text appeared hard to read. I re-posted the stack trace as below:



System.InvalidOperationException was unhandled

  Message=”Cross-thread operation not valid: Control ” accessed from a thread other than the thread it was created on.”



       at System.Windows.Forms.Control.get_Handle()

       at System.Windows.Forms.Control.DestroyHandle()

       at System.Windows.Forms.Control.Dispose(Boolean disposing)

       at Xceed.Editors.WinTextBox.Dispose(Boolean disposing)

       at Xceed.Editors.WinNumericTextBox.Dispose(Boolean disposing)

       at System.ComponentModel.Component.Dispose()

       at Xceed.Grid.Editors.CellEditorManager.Dispose(Boolean disposing)

       at Xceed.Grid.Editors.CellEditorManager.Dispose()

       at Xceed.Grid.Column.DisposeCachedManagerNotFromManagerList(IDisposable manager)

       at Xceed.Grid.Column.Finalize()

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