I have a treeview using load on demand via ajax. When I drag a node (or some nodes) and hover over a collapsed node, the collapsed node expands after a few seconds. However, the drag operation is then no longer active - when I release the mouse button nothing happens - no events are fired and no errors are generated. This is possibly because of the complexity of what I am doing when a node is expanded.
No problem, now I just want to turn off the auto-expansion of collapsed nodes when I hover during a drag operation. I can't find a way to do this - I tried handling OnClientNodeExpanding to return false if a javascript variable (isDragging) is true - I set isDragging to true in the OnClientNodeDragStart event and false in the OnClientNodeDropping event, but if I drop the node somewhere invalid the flag doesn't get turned off because the ClientNodeDropping event isn't fired.
Any way to just disable the auto-expand functionality?
Thanks,
John H
No problem, now I just want to turn off the auto-expansion of collapsed nodes when I hover during a drag operation. I can't find a way to do this - I tried handling OnClientNodeExpanding to return false if a javascript variable (isDragging) is true - I set isDragging to true in the OnClientNodeDragStart event and false in the OnClientNodeDropping event, but if I drop the node somewhere invalid the flag doesn't get turned off because the ClientNodeDropping event isn't fired.
Any way to just disable the auto-expand functionality?
Thanks,
John H