We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy.
Unfortunately, activation email could not send to your email. Please try again.

Error dragging column header

Thread ID:

Created:

Updated:

Platform:

Replies:

96245 Aug 31,2010 10:15 AM Feb 7,2011 05:28 AM Windows Forms 3
loading
Tags: Grouping
Richard
Asked On August 31, 2010 10:15 AM

Hi,

I am using a GridGroupingControl v6.302.0.6.

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.

Thanks.

---
Richard

Jisha Joy [Syncfusion]
Replied On September 2, 2010 03:14 AM

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


Leoni, Stefan
Replied On February 2, 2011 07:26 AM

Hi,

I have the same problem in Version 7.3.0.23.
Have you ever found a solution to this problem ?

regards Stefan



Jisha Joy [Syncfusion]
Replied On February 7, 2011 05:28 AM

Hi Stefan,


Could you please provide us a minimal sample that shows the issue?. We are unable to see the issue.

Regards,
Jisha


CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.

;