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

[Solved] Simulating Multiple Roots in a TreeView

3 Answers 299 Views
TreeView
This is a migrated thread and some comments may be shown as answers.
Stephen
Top achievements
Rank 1
Stephen asked on 10 Apr 2008, 09:51 PM
Hi All,

I would like to simulate the multiple root effect with the TreeView control.

What this really means is that when I add, say 3, nodes into a new TreeView control, I won't see the line that runs through the top to bottom of these 3 nodes. 

This way the user will think that these 3 roots are totally seperate.

Does anyone know if this issue here (http://www.telerik.com/community/forums/thread/b311D-dmhgk.aspx) is fixed?

If not, I hope that the RadTreeView is flexible enough to provide support for multiple roots.

-Steve

3 Answers, 1 is accepted

Sort by
0
Atanas Korchev
Telerik team
answered on 11 Apr 2008, 07:45 AM
Hi Stephen,

This is possible but requires some modifications to the skin CSS file. Let us know which is the skin you are using so we can modify it appropriately.

Regards,
Albert
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
0
Stephen
Top achievements
Rank 1
answered on 11 Apr 2008, 01:54 PM
Hi Albert,

We don't have any skins defined for our TreeView control. So I'd assume it uses the default skin.

Similar to the load on demand demo for TreeView on this page:
 http://www.telerik.com/DEMOS/ASPNET/Prometheus/TreeView/Examples/Overview/DefaultCS.aspx

Thank you
-Steve
0
Alex Gyoshev
Telerik team
answered on 11 Apr 2008, 07:18 PM
Hello Stephen,

Please find attached the modified version of the RadTreeView Default skin.

If you happen to encounter problems with registering the skin (and forcing the control to use it instead of the embedded ones), please consider following the steps in the help article on custom skin creation for RadControls for ASP.NET AJAX.

All the best,
Alexander
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
Tags
TreeView
Asked by
Stephen
Top achievements
Rank 1
Answers by
Atanas Korchev
Telerik team
Stephen
Top achievements
Rank 1
Alex Gyoshev
Telerik team
Share this question
or