This is a migrated thread and some comments may be shown as answers.

Hide +/- icons

2 Answers 45 Views
TreeView
This is a migrated thread and some comments may be shown as answers.
Eugen
Top achievements
Rank 1
Eugen asked on 09 Sep 2010, 11:32 AM

Hello everyone,

is it possible to hide the +/- icons for all nodes and always use the tree fully expanded?

Thanks!

2 Answers, 1 is accepted

Sort by
0
Accepted
Princy
Top achievements
Rank 2
answered on 09 Sep 2010, 01:44 PM
Hello Eugen,

The following CSS will hide the expand/collapse images for treenode.

CSS:
<style type="text/css"
        .rtPlus 
        
            display: none !important; 
        
        .rtMinus 
        
            display: none !important; 
        
    </style>

You can also hide the expand/collapse images from client side. In page load event access the RadTreeview and loop through each node and hide the node. Please refer the following forum post  which demonstrates the same.
Disabling node collapse at the client

Thanks,
Princy.
0
Eugen
Top achievements
Rank 1
answered on 09 Sep 2010, 03:25 PM
Great! Thanks!
Tags
TreeView
Asked by
Eugen
Top achievements
Rank 1
Answers by
Princy
Top achievements
Rank 2
Eugen
Top achievements
Rank 1
Share this question
or