Expand nodes of a tree view by default

2 posts, 1 answers
  1. Aneesh
    Aneesh avatar
    9 posts
    Member since:
    May 2012

    Posted 29 May 2012 Link to this post

    I need to expand nodes of a tree view by default. Please help me.
  2. Answer
    Princy
    Princy avatar
    17421 posts
    Member since:
    Mar 2007

    Posted 29 May 2012 Link to this post

    Hi Aneesh,

    Try the following code.

    protected void Page_Load(object sender, EventArgs e)
        {
            RadTreeViewTrial.ExpandAllNodes();
        }

    Hope this helps.

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