Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
105
webtree
posted

how to add a second level child node in the server side(Webdata tree)

Parents
No Data
Reply
  • 8160
    posted

    Hi venucobol,

    first add root node and after that add child node:

        protected void Page_Load(object sender, EventArgs e)
        {
            Node rootNode = new Node();
            rootNode.Text = "Root";

            this.UltraWebTree1.Nodes.Add(rootNode);

            Node childNode = new Node();
            childNode.Text = "Child Node";

            this.UltraWebTree1.Nodes[0].Nodes.Add(childNode);
        }

Children
No Data