Home Forums WinForms controls Xceed Grid for WinForms flickering grid, exceptions Reply To: flickering grid, exceptions

User (Old forums)
Member
Post count: 23064

Just tried the latest version of the xceed components but the grid still flickers and throws another exception message:

************** Exception Text **************
System.InvalidOperationException: An attempt was made to create a cell when its parent row is not part of a grid.
at Xceed.Grid.Collections.CellList.CreateItemFromTemplate(Int32 index)
at Xceed.Grid.Collections.VirtualListBase.GetVirtualItem(Int32 index, Boolean& isWeakReferenced)
at Xceed.Grid.Collections.VirtualListBase.GetVirtualItem(Int32 index)
at Xceed.Grid.Collections.VirtualListBase.ListGetItem(Int32 index)
at Xceed.Grid.Collections.CellList.get_Item(Int32 index)
at Xceed.Grid.CellRow.get_DefaultErrorDescription()
at Xceed.Grid.CellRow.get_ErrorDescription()
at Xceed.Grid.CellRow.GetErrorUIState()
at Xceed.Grid.PaintManager.PaintVisibleRows(VisibleRowList visibleRows, PaintEventArgs e)
at Xceed.Grid.PaintManager.PaintGrid(PaintEventArgs e)
at Xceed.Grid.GridControl.OnPaint(PaintEventArgs e)
at System.Windows.Forms.Control.PaintWithErrorHandling(PaintEventArgs e, Int16 layer, Boolean disposeEventArgs)
at System.Windows.Forms.Control.WmPaint(Message& m)
at System.Windows.Forms.Control.WndProc(Message& m)
at Xceed.Grid.GridControl.WndProc(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)

Imported from legacy forums. Posted by twi (had 596 views)