What's the best way to override the default text and create a "Visual Cue" when Dragging a RadTreeView Node to another. I've started by:
telerik:RadTreeView OnClientNodeDragging="ClientNodeDragging" ... ... function ClientNodeDragging(sender, args) { if (!visualClue) { visualClue = createVisualClue(); document.body.insertBefore(visualClue, document.body.firstChild); }
visualClue.style.left = args._domEvent.screenX + "px";
visualClue.style.top = args._domEvent.screenY + "px";
}
Is the way to go about displaying the text on screen?
At the moment it's approx 20 px below the draggable node and the existing drag text (RadTreeView) still displays (displays the name of the node text - I want it removed or overridden/hidden).
Hardylardy
[UPDATE] OK I've used args._domEvent.clientX and .clientY now. Close, but now I need a way of removing the RadTreevIew's own text.