This is a migrated thread and some comments may be shown as answers.

Error While dragging node

0 Answers 49 Views
TreeView
This is a migrated thread and some comments may be shown as answers.
Manoj
Top achievements
Rank 1
Manoj asked on 06 Mar 2009, 06:13 AM
Hi Team,
    I am using the bellow mentioned code for node dragging .

function

onNodeDragging(sender, args)

 

{

 

debugger;

 

 

var draggedNodeVal = args._node.get_value();

 

 

var target = args.get_htmlElement();

 

 

if(draggedNodeVal != "999999999") // This check for new vale node.

 

{

 

if(!target) return;

 

 

if (target.tagName == "INPUT")

 

{

target.style.cursor =

"hand";

 

}

}

 

else

 

{

alert(

"This is a New Value node . You cannot dragg this node. Please try diffent one.");

 

args.set_cancel(

true);

 

}

}


I am getting the bellow mentioned error . Coluld you please let me know , why this is coming .

Microsoft JScript runtime error: 'this._draggingClue.style' is null or not an object

Regards
Manoj

No answers yet. Maybe you can help?

Tags
TreeView
Asked by
Manoj
Top achievements
Rank 1
Share this question
or