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

[Solved] Set Root Node to Local C:\ or Server Folder.

7 Answers 183 Views
TreeView
This is a migrated thread and some comments may be shown as answers.
Rory
Top achievements
Rank 1
Rory asked on 25 Jan 2008, 08:08 PM
Hi there is there any way to set the root node to a folder and let RadTreeView populate the subdirectories?

7 Answers, 1 is accepted

Sort by
0
Fernandes
Top achievements
Rank 1
answered on 26 Jan 2008, 12:18 AM
0
Rory
Top achievements
Rank 1
answered on 26 Jan 2008, 12:22 AM
Yep I've seen that one it works great if your nodes are coming from the webserver i'm looking for a way to interact with the radtreeview with my local machine.
0
Atanas Korchev
Telerik team
answered on 28 Jan 2008, 08:41 AM
Hi Rory,

It is not possible to interact with the file system of the client machine. Your server-code executes on the server-side hence you have access only to the server file system. It may be possible to interact with client-side file system through IE specific JavaScript but this would introduce security risks.

Regards,
Albert
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
0
Rory
Top achievements
Rank 1
answered on 28 Jan 2008, 06:41 PM
I thought one of the demos was client side adding nodes to radtreeview.
 http://www.telerik.com/DEMOS/ASPNET/Prometheus/Treeview/Examples/Programming/AddRemoveDisableNodesClientSide/DefaultCS.aspx
Is there anyway to add a hierarchy of nodes or a node that has more info than just the title attribute?

If local won't work what about server shared folders. Could I link the radtreeview to a \\server\share?
0
JoeC
Top achievements
Rank 1
answered on 09 Mar 2010, 07:52 PM
Hello,
You state that "It is not possible to interact with the file system of the client machine". Is that still the case? I need to allow a user to select a "Path" from their local file system. Is there any way to us the "tree view" or "file explorer" to select directory path from the clients machine?
0
Veselin Vasilev
Telerik team
answered on 12 Mar 2010, 12:50 PM
Hi JoeC,

No, this is not possible due to security reasons.

What exactly are you trying to achieve?

Best wishes,
Veskoni
the Telerik team

Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
0
JoeC
Top achievements
Rank 1
answered on 18 Mar 2010, 06:50 PM
Thank you Veskoni. 
I solved my issue a different way. 
I had to chuckle a bit when I realized that what I was trying to do was what IE is trying to stop from happening.
Tags
TreeView
Asked by
Rory
Top achievements
Rank 1
Answers by
Fernandes
Top achievements
Rank 1
Rory
Top achievements
Rank 1
Atanas Korchev
Telerik team
JoeC
Top achievements
Rank 1
Veselin Vasilev
Telerik team
Share this question
or