Home - Forums-.NET - FlyTreeView (ASP.NET) - DND Treeview and DND ATLAS control interoperability

FlyTreeView (ASP.NET)

Technical support and KB related to the FlyTreeView control

This forum related to following products: FlyTreeView for ASP.NET

DND Treeview and DND ATLAS control interoperability
Link Posted: 13-Jan-2007 07:10
I have a dragable treeview and a dragable ATLAS control. After i drag the treeview, I can't drag my ATLAS control. After i start moving the ATLAS control, the ATALS DND manager invoke OnDropEnd instantly.

Do you have any solution on hand ? I need it to work aspd ... thank you
Link Posted: 13-Jan-2007 22:04
We're now working on AJAX (former ATLAS) control integration and interoperability.

Unfortunately we do not have concrete fix for your issue until we have a new version (4.2) of the control.
Anyway please try to use the latest version of ATLAS (AJAX), it has huge amount of changes and fixes from release to release.
Also, the FlyTreeView should not interfere its client-side model with any ajax framework. Anyway we're going to fix any problem to make AJAX and FlyTreeView work together.
Link Posted: 13-Jan-2007 23:18
Thank you for your reply .....

However, can you tell me when will the next version will be released.
Link Posted: 14-Jan-2007 02:52
We hope to get it finally released within several weeks.
But there's no exact final date available.
Link Posted: 14-Jan-2007 04:41
Thank you for your reply again .....

However, can you tell me the concept how your implement your DND ? I debug the ATLAS DND Manager and found that my DragVisual raise a OnDragEnd event after i start draging the element. And this bug will happen only when i had drag your TreeView.

I am trying to work around this bug. But it would be many kind if you can tell me that what your code do with the 'document' object or any thing outsite your elements ????

Please help me .......

PS. I am using ATLAS lastest CTP (not the RC1)
Link Posted: 14-Jan-2007 06:16
With the first DND operation the FlyTreeView adds event listeners:

mouseup
mousedown

and event handlers for ESC and CTRL

it uses addEventListener or attachEvent or directly sets handlers using the on... attribute (depending on browser capabilities).
Link Posted: 14-Jan-2007 06:18
Also,
FlyTreeView does not remove this event liseners after DND completes.
Link Posted: 14-Jan-2007 06:43
Yes ... and this cause the main problem as i found so far from your code.

I tried to assign all document events to \"NULL\" but i got no luck. Moreover, as i kown so far, i can't detach a event handler on any event until i have the event handler. so .......  

but it's kind of wired why don't you do a clean up code ???????????  

However, i am really thank you for your replies.

Cheer .....
Link Posted: 14-Jan-2007 07:33
but it's kind of wired why don't you do a clean up code ???????????

FlyTreeView does not need to detach its event listeners.
These handlers are common for all DND operations.
Also they should not be accessible and should not affect other handlers or etc .