Re: NullReferenceException in datagrid while scrolling
From: Miki Watts (miki333_at_netvision.net.il)
Date: 02/07/04
- Next message: Herfried K. Wagner [MVP]: "Re: How do I get the Forms Designer MainMenu object to generate code which uses my MenuItems instead of the base MenuItems"
- Previous message: Kimon Ifantidis: "ListView's AllowColumnReorder property BUG"
- In reply to: Miki Watts: "NullReferenceException in datagrid while scrolling"
- Messages sorted by: [ date ] [ thread ]
Date: Sat, 7 Feb 2004 12:25:41 +0200
"Miki Watts" <miki333@netvision.net.il> wrote in message
news:TcydnaNLjclGnbnd4p2dnA@giganews.com...
> 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.
- Next message: Herfried K. Wagner [MVP]: "Re: How do I get the Forms Designer MainMenu object to generate code which uses my MenuItems instead of the base MenuItems"
- Previous message: Kimon Ifantidis: "ListView's AllowColumnReorder property BUG"
- In reply to: Miki Watts: "NullReferenceException in datagrid while scrolling"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|