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

User (Old forums)
Member
Post count: 23064

Hi,

Has this issue been solved? I’m experiencing more or less the same problem. It’s very hard to reproduce and only happens sometimes (race condition?).

The grids in my app usually runs smoothly, but sometimes I’m getting the following 2 errors (probably related):

– Object reference not set to an instance of an object. Happens occasionally when calling the line
System.Type type = c.ParentColumn.DataType;
where c is of type Xceed.Grid.Cell and definitely not null, so it must be the ParentColumn that is null

–  An attempt was made to create a cell when its parent row is not part of a grid (same trace as above). This one happens sometimes when calling the line
row.Cells[ m_colKeyIndex ]).Value;
where row is of type Xceed.Grid.DataRow.

I hope you can help me out!

Imported from legacy forums. Posted by ronny (had 1940 views)