Browse through RadTreeView nodes

2 posts, 0 answers
  1. Bruno
    Bruno avatar
    20 posts
    Member since:
    Sep 2012

    Posted 16 Dec 2011 Link to this post

    Hi all,

    can someone tell me what it is the best way to browse all nodes of a RadTreeView?

    I'm using the following code:

    foreach (RadTreeNode oNode in oTreeView.Nodes)
    {
        Label oLbl = (Label)oNode.FindControl("spnDesignation");
        oLbl.Visible = bShow;
    }

    but it is just catching the root node.

    Thanks,
    Bruno
  2. Bruno
    Bruno avatar
    20 posts
    Member since:
    Sep 2012

    Posted 16 Dec 2011 Link to this post

    Got it... I have to use oTreeView.GetAllNodes().
  3. UI for ASP.NET Ajax is Ready for VS 2017
Back to Top