Hello I have some problem with DataGrid,
it hangs on scroll with the following stack trace:
Unhandled Exception: System.NullReferenceException: Object reference not set
to an instance of an object.
at System.Windows.Forms.SafeNativeMethods.SetWindowPos(HandleRef hWnd,
HandleRef hWndInsertAfter, Int32 x, Int32 y, Int32 cx, Int32 cy, Int32
flags)
at System.Windows.Forms.DataGridToolTip.CreateToolTipHandle()
at System.Windows.Forms.DataGrid.ResetToolTip()
at System.Windows.Forms.DataGrid.OnScroll(EventArgs e)
at System.Windows.Forms.DataGrid.ScrollDown(Int32 rows)
at System.Windows.Forms.DataGrid.GridVScrolled(Object sender,
ScrollEventArgs se)
at System.Windows.Forms.ScrollBar.OnScroll(ScrollEventArgs se)
at System.Windows.Forms.ScrollBar.WmReflectScroll(Message& m)
at System.Windows.Forms.ScrollBar.WndProc(Message& m)
at System.Windows.Forms.ControlNativeWindow.OnMessage(Message& m)
Does anyone know this problem and its solution ?
|