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

System physical Folder/File Structure in Treeview

0 Answers 87 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Chandu
Top achievements
Rank 2
Chandu asked on 13 Sep 2012, 06:51 AM

I have been working on Silverlight4 application,and telerik radcontrols for silverlight.I have run into an issue and I was hoping that someone could help me resolve this. 

Problem: I need to traverse through folders and files located in a folder under the System hard-drive and populate the radtreeview based on folder/file names. Populating the treeview is not an issue as I will be doing that in the code behind through WCF Service. However I am not sure about accessing up to how many times i need to search  
 folders/child folders/sub child folders....Up to N folders for existence of any files or folders.
 
The following i will explain my scenario

Folder1---->Folder2----->Folder3---->..........---->Folder(n)

here i need to go up to Folder(n) and i need to get any files in the Folder(n)

What i need is a better way to solve this(with out using N loops).

This is the challenging task for me,please Please help me regarding this.
-Chandu

Tags
General Discussions
Asked by
Chandu
Top achievements
Rank 2
Share this question
or