Error While dragging node

1 posts, 0 answers
  1. Manoj
    Manoj avatar
    75 posts
    Member since:
    Dec 2008

    Posted 06 Mar 2009 Link to this post

    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
Back to Top