This is a migrated thread and some comments may be shown as answers.

Mouse Event But with GridView

1 Answer 134 Views
GridView
This is a migrated thread and some comments may be shown as answers.
George
Top achievements
Rank 1
George asked on 18 Jun 2007, 04:08 AM
I've encountered another problem with the GridView.  I cannot reproduce it on demand, but have triggered the error several times.  I realize that the process of causing the problem is beyond normal user action of the control, but stumbled on it all the same.

Clicking rapidly in the header area, especially on the seperator between columns, can cause the foolowing error to occur:

System.NullReferenceException: Object reference not set to an instance of an object.
   at Telerik.WinControls.UI.GridHeaderRowElement.OnMouseUp(MouseEventArgs e)
   at Telerik.WinControls.RadElement.OnCLREventsRise(RoutedEventArgs args)
   at Telerik.WinControls.RadElement.OnBubbleEvent(RadElement sender, RoutedEventArgs args)
   at Telerik.WinControls.RadItem.OnBubbleEvent(RadElement sender, RoutedEventArgs args)
   at Telerik.WinControls.UI.GridRowElement.OnBubbleEvent(RadElement sender, RoutedEventArgs args)
   at Telerik.WinControls.RadElement.RaiseBubbleEvent(RadElement sender, RoutedEventArgs args)
   at Telerik.WinControls.RadItem.RaiseBubbleEvent(RadElement sender, RoutedEventArgs args)
   at Telerik.WinControls.RadElement.RaiseRoutedEvent(RadElement sender, RoutedEventArgs args)
   at Telerik.WinControls.RadElement.DoMouseUp(MouseEventArgs e)
   at Telerik.WinControls.RadControl.OnMouseUp(MouseEventArgs e)
   at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
   at System.Windows.Forms.Control.WndProc(Message& m)
   at System.Windows.Forms.ScrollableControl.WndProc(Message& m)
   at Telerik.WinControls.RadControl.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)

Again, I realize rapidly clicking in the header is not common or normal.  Perhaps I have a twitchy index finger :).  Nonetheless, the error does occur.

Thanks

1 Answer, 1 is accepted

Sort by
0
Jack
Telerik team
answered on 18 Jun 2007, 08:08 AM
Hello Kuba,

Thank you for submitting this problem. We found where the problem is and will fix it for the service pack due by the end of this month.
 

All the best,
Jack
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
Tags
GridView
Asked by
George
Top achievements
Rank 1
Answers by
Jack
Telerik team
Share this question
or