The Syncfusion native Blazor components library offers 70+ UI and Data Viz web controls that are responsive and lightweight for building modern web apps.
.NET PDF framework is a high-performance and comprehensive library used to create, read, merge, split, secure, edit, view, and review PDF files in C#/VB.NET.
When dragging a column header to the right, I get the following error as soon as the mouse cursor crosses over to the next column.
System.NullReferenceException: Object reference not set to an instance of an object. at Syncfusion.Windows.Forms.Grid.Grouping.GroupDragHeaderMouseControllerBase.UpdateRedArrowIndicator() at Syncfusion.Windows.Forms.Grid.Grouping.GridTableControlDragHeaderMouseController.MouseMove(MouseEventArgs e) at Syncfusion.Windows.Forms.MouseControllerDispatcher.ProcessMouseMove(MouseEventArgs e) at Syncfusion.Windows.Forms.ScrollControllMouseControllerDispatcher.ScrollControlMouseMoveHandled(Object sender, MouseEventArgs e) at Syncfusion.Windows.Forms.ScrollControl.OnScrollControlHandledMouseMove(MouseEventArgs e) at Syncfusion.Windows.Forms.ScrollControl.OnMouseMove(MouseEventArgs e) at Syncfusion.Windows.Forms.Grid.GridControlBase.OnMouseMove(MouseEventArgs e) at Syncfusion.Windows.Forms.Grid.Grouping.GridTableControl.OnMouseMove(MouseEventArgs e) at System.Windows.Forms.Control.WmMouseMove(Message& m) at System.Windows.Forms.Control.WndProc(Message& m) at Syncfusion.Windows.Forms.ScrollControl.WndProc(Message& msg) at Syncfusion.Windows.Forms.Grid.GridControlBase.WndProc(Message& msg) at Syncfusion.Windows.Forms.Grid.Grouping.GridTableControl.WndProc(Message& msg) 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)
Both columns are un-bound, but I don't know if this is relevant.
Are there any suggetions on how I can handle/supress this error? I thought I could extend GridTableControlDragHeaderMouseController, and override MouseMove() to handle the NullReferenceException. But I couldn't find anywhere to plug-in my version of GridTableControlDragHeaderMouseController.
JJJisha Joy Syncfusion Team September 2, 2010 07:14 AM UTC
Hi Richard,
I have tested the issue in different browser sample in v6.3. There was no application crash occurred at this point. Are you using any other settings with the grid used in your application? Please provide more details on the complete settings like properties, events handled etc., if used in your application or a minimal sample reproducing the issue. It would be fine for us to locate the issue and work to provide a better solution.
Regards, Jisha
LSLeoni, StefanFebruary 2, 2011 12:26 PM UTC
Hi,
I have the same problem in Version 7.3.0.23. Have you ever found a solution to this problem ?
regards Stefan
JJJisha Joy Syncfusion Team February 7, 2011 10:28 AM UTC
Hi Stefan,
Could you please provide us a minimal sample that shows the issue?. We are unable to see the issue.