NullReferenceException in datagrid while scrolling

  • Thread starter Thread starter Miki Watts
  • Start date Start date
M

Miki Watts

I have a problem with DataGrid, while filling a DataSet that is bound to it,
which throws a NullReferenceException, and the stack trace points to some
tooltip related functions in the datagrid.
This happens only while scrolling with the scroll bar.
I've seen a thread from 2002 where someone had the same exact problem as me,
but there was no solution posted to it.

Is this a known bug? any way to fix it?
 
Miki Watts said:
I have a problem with DataGrid, while filling a DataSet that is bound to it,
which throws a NullReferenceException, and the stack trace points to some
tooltip related functions in the datagrid.
This happens only while scrolling with the scroll bar.
I've seen a thread from 2002 where someone had the same exact problem as me,
but there was no solution posted to it.

Is this a known bug? any way to fix it?

I found a work around for this bug, apparently it has something to do with
filling the dataset with large amounts of data, while the datagrid is bound
to it. So i disconnected the grid from the dataset before filling the
dataset, then rebound and refreshed the grid afterwards.
 
Back
Top