Populating child nodes to RadTreeNodeData class

2 posts, 0 answers
  1. Vijay
    Vijay avatar
    3 posts
    Member since:
    Jan 2009

    Posted 14 Apr 2009 Link to this post

    Is it possible to add child nodes to RadTreeNodeData class? we need to add 2 level of nodes to any node using the webservice binding
  2. Veselin Vasilev
    Admin
    Veselin Vasilev avatar
    2992 posts

    Posted 17 Apr 2009 Link to this post

    Hi Vijay,

    I am afraid this is not possible. You can use the ServerSideCallBack instead.

        protected void RadTreeView1_NodeExpand(object sender, RadTreeNodeEventArgs e) 
        { 
            RadTreeNode node = new RadTreeNode("child"); 
            node.Nodes.Add(new RadTreeNode("child 2")); 
            e.Node.Nodes.Add(node); 
        } 


    All the best,
    Veselin Vasilev
    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Check out the tips for optimizing your support resource searches.
Back to Top