Rad Drop down tree how to get chaild that parent node selected value client said code

2 posts, 0 answers
  1. NA
    NA avatar
    39 posts
    Member since:
    Aug 2013

    Posted 30 Jan 2014 Link to this post

    Rad Drop down tree how to get child that parent node selected value  client said code[ex: i selected child node how to get the that parent node value and child node  selected value  in client said code ]....
    pls help me......
  2. Princy
    Princy avatar
    17421 posts
    Member since:
    Mar 2007

    Posted 31 Jan 2014 in reply to NA Link to this post


    Please have a look into the following code snippet which works fine at my end.

    <script type="text/javascript">
        function OnClientEntryAdded1(sender, args) {
            var path = args.get_entry()._fullPath;
            var nodes = path.split("/");
            if (nodes.length >1)
                alert("parentnode :" + nodes[0]);
            var item = sender.get_embeddedTree().findNodeByText(args.get_entry().get_text());
            if (item._hasChildren() == true) {
                for (var i = 0; i < item._getChildElements().length; i++) {

Back to Top