How to hide Collapse icon from a particular node in RadTreeView

3 posts, 0 answers
  1. Gaurav
    Gaurav avatar
    4 posts
    Member since:
    Dec 2010

    Posted 04 Mar 2011 Link to this post

    Hi,

    I have a requirement where Root Category Node should always be in Expanded mode in RadTreeView control.
    I have written the code to show it in expanded mode when RadTreeView is loaded first time but to give it a better meaning I also need to remove the Collapse Icon from the Root Node which is always present there.

    I tried updating Node element from code behind but could not find any property like "Collapsable" which I can set to false for this particular node.

    Please let me know if there is any attribute or customized code exists for this.

    Thanks in advance
    Gaurav Jain
  2. Shinu
    Shinu avatar
    17764 posts
    Member since:
    Mar 2007

    Posted 04 Mar 2011 Link to this post

    Hello Gaurav,

    The forum shows how to hide the expand/collapse image of the root node of tree.
    Drop Expand/Collapse Image From Root Node

    Thanks,
    Shinu.
  3. Gaurav
    Gaurav avatar
    4 posts
    Member since:
    Dec 2010

    Posted 04 Mar 2011 Link to this post

    Thanks :)

    It worked for me.
Back to Top