Hi Ragupathi,
Thank you for writing.
There is two main scenarios for populating
RadTreeView. It depends
on LoadOnDemand property. If
LoadOnDemand is
false, then all nodes are created and
RadTreeView automatically adds plus/minus symbol only for nodes that have children ones. If you have set
LoadOnDemand = true, then plus/minus symbol is added to all nodes, because
RadTreeView loads only visible ones and it doesn't know which of them have children. Children nodes load when the user in clicks on the expand symbol (on demand). You can remove expand symbol in run-time for the certain nodes, that you know they have not children, by setting theirs
LoadedOnDemand property to
true:
| radTreeView1.Nodes[5].LoadedOnDemand = true; |
If you have other questions, do not hesitate to contact me again.
Greetings,
Martin Vasilev
the Telerik team
Check out
Telerik Trainer, the state of the art learning tool for Telerik products.