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. Image for the cookie policy date
close icon

TreeviewAdv Control ItemDrag - Enters a Recursion [Ver 3.0.1.0]

Hi,

I'm using syncfusion ver 3.0.1.0 and am facing problem during drag and drop functionality in TreeviewAdv.

Sometimes, it gets into a recursive loop and emits triggers ItemDrag event handler more than once.

Here is my stack trace.

2008-06-27 18:22:00,764 Void _treeControl_ItemDrag(System.Object, System.Windows.Forms.ItemDragEventArgs)
2008-06-27 18:22:00,764 Void OnItemDrag(System.Windows.Forms.ItemDragEventArgs)0
2008-06-27 18:22:00,764 Void RaiseItemDrag(System.Windows.Forms.ItemDragEventArgs)0
2008-06-27 18:22:00,764 Void OnMouseMove(System.Windows.Forms.MouseEventArgs)0
2008-06-27 18:22:00,764 Void repeatScrollEventTimer_Elapsed(System.Object, System.EventArgs)0
2008-06-27 18:22:00,764 Void OnTick(System.EventArgs)0
2008-06-27 18:22:00,764 Void Callback(IntPtr, Int32, IntPtr, IntPtr)0
2008-06-27 18:22:00,764 Int32 DoDragDrop(IOleDataObject, IOleDropSource, Int32, Int32[])0
2008-06-27 18:22:00,764 System.Windows.Forms.DragDropEffects DoDragDrop(System.Object, System.Windows.Forms.DragDropEffects)0
2008-06-27 18:22:00,764 System.Windows.Forms.DragDropEffects DoDragDrop(System.Object, System.Windows.Forms.DragDropEffects)0
2008-06-27 18:22:00,764 Void _treeControl_ItemDrag(System.Object, System.Windows.Forms.ItemDragEventArgs)
2008-06-27 18:22:00,764 Void OnItemDrag(System.Windows.Forms.ItemDragEventArgs)0
2008-06-27 18:22:00,764 Void RaiseItemDrag(System.Windows.Forms.ItemDragEventArgs)0
2008-06-27 18:22:00,764 Void OnMouseMove(System.Windows.Forms.MouseEventArgs)0
2008-06-27 18:22:00,764 Void repeatScrollEventTimer_Elapsed(System.Object, System.EventArgs)0
2008-06-27 18:22:00,764 Void OnTick(System.EventArgs)0
2008-06-27 18:22:00,764 Void Callback(IntPtr, Int32, IntPtr, IntPtr)0
2008-06-27 18:22:00,764 Int32 DoDragDrop(IOleDataObject, IOleDropSource, Int32, Int32[])0
2008-06-27 18:22:00,764 System.Windows.Forms.DragDropEffects DoDragDrop(System.Object, System.Windows.Forms.DragDropEffects)0
2008-06-27 18:22:00,764 System.Windows.Forms.DragDropEffects DoDragDrop(System.Object, System.Windows.Forms.DragDropEffects)0
2008-06-27 18:22:00,764 Void _treeControl_ItemDrag(System.Object, System.Windows.Forms.ItemDragEventArgs)
2008-06-27 18:22:00,764 Void OnItemDrag(System.Windows.Forms.ItemDragEventArgs)0
2008-06-27 18:22:00,764 Void RaiseItemDrag(System.Windows.Forms.ItemDragEventArgs)0
2008-06-27 18:22:00,764 Void OnMouseMove(System.Windows.Forms.MouseEventArgs)0
2008-06-27 18:22:00,764 Void repeatScrollEventTimer_Elapsed(System.Object, System.EventArgs)0
2008-06-27 18:22:00,764 Void OnTick(System.EventArgs)0
2008-06-27 18:22:00,764 Void Callback(IntPtr, Int32, IntPtr, IntPtr)0
2008-06-27 18:22:00,764 Int32 DoDragDrop(IOleDataObject, IOleDropSource, Int32, Int32[])0
2008-06-27 18:22:00,764 System.Windows.Forms.DragDropEffects DoDragDrop(System.Object, System.Windows.Forms.DragDropEffects)0
2008-06-27 18:22:00,764 System.Windows.Forms.DragDropEffects DoDragDrop(System.Object, System.Windows.Forms.DragDropEffects)0
2008-06-27 18:22:00,764 Void _treeControl_ItemDrag(System.Object, System.Windows.Forms.ItemDragEventArgs)
2008-06-27 18:22:00,764 Void OnItemDrag(System.Windows.Forms.ItemDragEventArgs)0
2008-06-27 18:22:00,764 Void RaiseItemDrag(System.Windows.Forms.ItemDragEventArgs)0
2008-06-27 18:22:00,764 Void OnMouseMove(System.Windows.Forms.MouseEventArgs)0
2008-06-27 18:22:00,764 Void WmMouseMove(System.Windows.Forms.Message ByRef)0
2008-06-27 18:22:00,764 Void WndProc(System.Windows.Forms.Message ByRef)0
2008-06-27 18:22:00,764 Void WndProc(System.Windows.Forms.Message ByRef)0
2008-06-27 18:22:00,764 Void WndProc(System.Windows.Forms.Message ByRef)0
2008-06-27 18:22:00,764 Void OnMessage(System.Windows.Forms.Message ByRef)0
2008-06-27 18:22:00,764 Void WndProc(System.Windows.Forms.Message ByRef)0
2008-06-27 18:22:00,764 IntPtr Callback(IntPtr, Int32, IntPtr, IntPtr)0
2008-06-27 18:22:00,764 IntPtr DispatchMessageW(MSG ByRef)0
2008-06-27 18:22:00,764 Boolean System.Windows.Forms.UnsafeNativeMethods+IMsoComponentManager.FPushMessageLoop(Int32, Int32, Int32)0
2008-06-27 18:22:00,764 Void RunMessageLoopInner(Int32, System.Windows.Forms.ApplicationContext)0
2008-06-27 18:22:00,764 Void RunMessageLoop(Int32, System.Windows.Forms.ApplicationContext)0
2008-06-27 18:22:00,764 Void Run(System.Windows.Forms.Form)0
2008-06-27 18:22:00,764 Void Main(System.String[])

Is there some property I need to set to overcome this problem?

Thanks,
Santhosh


3 Replies

AD Administrator Syncfusion Team July 1, 2008 07:27 AM UTC

Hi Santhosh,

Thank you for using Syncfusion products.

We are glad to inform you that the issue 'ItemDrag event triggered more than once while doing dragdrop in 3.0.1.0' has been fixed internally and the fix for this issue is available in our latest Essential Studio 2008 Volume 2 - v6.3.0.6 which you can refer to the below location for download. Can you please consider upgrading to this version?

http://www.syncfusion.com/downloads/latestversion/default.aspx

Unlock key:

If your Essential Studio license is current, you will be able to obtain the key to install this version from your account
in DirectTrac. Otherwise, please contact your Syncfusion Sales Representative or e-mail salessupport@syncfusion.com.

Please let me know if this helps you.

Regards,
Jaya




AD Administrator Syncfusion Team July 4, 2008 07:23 AM UTC

Hi Jaya,

Thank you for the reply. We've moved to v6.1.0.34 of Syncfusion and it seems to have fixed the issue. Can you please confirm this or should we go for the latest version that you're mentioning?

Thanks,
Santhosh




AD Administrator Syncfusion Team July 7, 2008 07:10 AM UTC

Hi Santhosh,

Thanks for the update. You can use 6.1.0.34 version for that fix and let me know if you have any further issues.

Regards,
Jaya


Loader.
Live Chat Icon For mobile
Up arrow icon