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

Xceed Support
Member
Post count: 5658

Clarification

To prevent the “Cross-thread operation not valid: Control”  problem do the following:

set

.CellEditorManager = null;
.ResetCellEditorManager();

on the columns that are using the default editors.

For example:

    Dim column As Column

    For Each column In GridControl1.Columns
      column.CellEditorManager = Nothing
      column.ResetCellEditorManager()
    Next
 

Imported from legacy forums. Posted by Mohamed [Xceed] (had 1265 views)