Rad Tree onNodeDragging

2 posts, 0 answers
  1. Ramakrishna
    Ramakrishna avatar
    16 posts
    Member since:
    Jan 2011

    Posted 08 Apr 2011 Link to this post

    we written onNodeDragging event at client side, while draging the node it will fires automatically with out interruption.
    here  we paste the code :
     function onNodeDragging(sender, args) {
                if (args._sourceNodes[0]._attributes._data.IsPrerequisiteQuestion == "True" || args._sourceNodes[0]._attributes._data.IsPrerequisiteAttribute == "True") {
                    args.set_cancel(true);
                    args.IsValid =false;
                    return false;
                }
                else {
                    args.set_cancel(false);
                }
            }
  2. Shinu
    Shinu avatar
    17764 posts
    Member since:
    Mar 2007

    Posted 08 Apr 2011 Link to this post

    Hello,


    I am not quite sure about the requirement/problem facing at your side. Could you elaborate about the issue?

    More information about the client side event, will be available here: OnClientNodeDragging



    -Shinu.
Back to Top