RadTreelist - acess from RadTreeview(Urgent)

2 posts, 0 answers
  1. Sindu
    Sindu avatar
    46 posts
    Member since:
    Oct 2011

    Posted 18 Nov 2011 Link to this post


    Hi,

    I have a radtreelist inside RadTreeview nodes.How to get these RadTreelist at clientside ? I mean iterate each treeview node using javascript and take Treelist control from RadTreeview? (client side)

    Thanks

    Sindu
  2. Princy
    Princy avatar
    17421 posts
    Member since:
    Mar 2007

    Posted 18 Nov 2011 Link to this post

    Hello Sindu,

    You can try the following javascript.
    JS:
    <script type="text/javascript">
     function OnClientNodeClicked(sender, args)
     {
      args.get_node().set_expanded(true);
      var count = args.get_node().get_nodes().get_count();
      for (var j = 0; j < count; j++) //iterate through childnodes.
        {
           var treelist= args.get_node().get_nodes().getNode(j).findControl("RadTreeList1");
        }
     }
    </script>

    Thanks,
    Princy.
  3. UI for ASP.NET Ajax is Ready for VS 2017
Back to Top