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.

TreeViewAdv generates multiple DragItems when scrolling

Thread ID:

Created:

Updated:

Platform:

Replies:

34327 Sep 7,2005 03:48 PM Nov 23,2005 02:39 AM Windows Forms 5
loading
Tags: Tools
Joshua Bouscher
Asked On September 7, 2005 03:48 PM

I''ve found that when I have AutoScrolling set to ScrollBars.Both so that dragging an item around in a tree view will cause scrolling to happen, as it scrolls the _DragItem event gets called again and again for the same item. The problem is that when the drop happens and _DragDrop gets called it process the same item multiple times. How can I prevent this?

Joshua Bouscher
Replied On September 7, 2005 03:58 PM

In addition, what seems to be happening is that... in the _DragItem I call DoDragDrop. But the actual _DragDrop doesn''t happen until I''m done dragging around, at which point it calls _DragDrop once for each time that _DragItem was called. So I''m confused as to why _DragItem is called whenever I cause the scrollbars to move because of my dragging.

Vijayanand S [Syncfusion]
Replied On September 8, 2005 06:35 AM

Hi Joshua, I was able to reproduce the problem.We have logged a bug report Defect #731 - ItemDrag event calls multiple time when we dragging an item around the TreeviewAdv control on this issue and will try our very best to address the same at the earliest. Currently we have no workaround for this condition. If any update or workaround will be made by us regarding this issue, we will inform you. Please take a look at the Track of the bug in the open Issue. Thanks for bringing this issue to our attention. Best Regards Vijay

Joshua Bouscher
Replied On September 12, 2005 04:41 PM

Hi, I was wondering if there was any status on this or when I could expect to see an update. It looks like the defect hasn''t been looked at yet. Thanks for your time.

Deepa TS [Syncfusion]
Replied On November 21, 2005 01:25 AM

Hi Joshua, The issue ItemDrag event calls multiple time when we dragging an item around the TreeviewAdv control has been fixed internally and It will be available in our next release. I will get back to you with more information regarding the release, as soon as possible. Thanks for your patience and continued interest in Syncfusion products. Best regards, Deepa.T.S

Deepa TS [Syncfusion]
Replied On November 23, 2005 02:39 AM

Hi Joshua, My sincere apologies for the inconvenience caused. Defect #731 has been resolved. For the detailed solution please refer to the following link http://www.syncfusion.com/support/issues/tools/Default.aspx?ToDo=view&questId=731 or the sample TreeViewAdvAutoScroll which also illustrates the solution. Thanks for your patience. Regards, Deepa.T.S

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.

;