GGC ArgumentOutOfRangeException

Hi,
I am using a GGC with the dragcolumns set to true. There are no issues when I drag a column header and drop it on another column header.

But when I try dropping it anywhere else(ex in the table) it gives the following exception. I know that the drag drop will work only by placing the dragged column header on a different column header, but this exception is slowing down the app when the user tries this invalid operation. I want to suppress this exception from being thrown.

System.ArgumentOutOfRangeException: Specified argument was out of the range of valid values.
at Syncfusion.Windows.Forms.Grid.Grouping.GridColumnDescriptorCollection.get_Item(Int32 index)
at Syncfusion.Windows.Forms.Grid.Grouping.GridTableControlDragHeaderMouseController.MouseUp(MouseEventArgs e)
at Syncfusion.Windows.Forms.MouseControllerDispatcher.ProcessMouseUp(MouseEventArgs e)
at Syncfusion.Windows.Forms.ScrollControllMouseControllerDispatcher.ScrollControlBeforeMouseUp(Object sender, CancelMouseEventArgs e)
at Syncfusion.Windows.Forms.ScrollControl.OnScrollControlMouseUp(CancelMouseEventArgs e)
at Syncfusion.Windows.Forms.ScrollControl.RaiseCancelMouseEvent(MouseEventArgs e, CancelMouseDelegate d)
catched at Syncfusion.Windows.Forms.ScrollControl.RaiseCancelMouseEvent(MouseEventArgs e, CancelMouseDelegate d) in :line 0

2 Replies

AD Administrator Syncfusion Team January 31, 2007 10:15 AM UTC

Hi Navaneeth,

Thank you for being patience.

Please forward your grid property settings. This will help us to reproduce the issue here or please post us a video clip or screen shot showing the steps to reproduce the issue here. The following is the video clip showing the steps followed by us to reproduce the issue here.

Video Clip : DragColumn_GGC_VideoClip.zip

Have a nice day.

Best regards,
Madhan


NR Navaneeth Rajkumar January 31, 2007 11:46 PM UTC

I am not able to reproduce this error when I seperate it from my app.. Will investigate and get back..

Loader.
Up arrow icon