folder icon in node

2 posts, 0 answers
  1. beeta one
    beeta one avatar
    63 posts
    Member since:
    Aug 2012

    Posted 27 Aug 2012 Link to this post

    hi,,
     I want to show a folder icon in every node of a RadTreeview. How can I do that?

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

    Posted 27 Aug 2012 Link to this post

    Hi Hash,

    Try the following code snippet to add folder image in each node of a RadTreeView.

    C#:
    foreach (RadTreeNode node in RadTreeView1.GetAllNodes())
            {
                node.ImageUrl = "~/Images/folder.jpg";
            }

    Hope this helps.

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