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

From a list of folders populate a treeview question...

1 Answer 57 Views
TreeView
This is a migrated thread and some comments may be shown as answers.
krees
Top achievements
Rank 2
krees asked on 09 Jun 2011, 01:28 AM
In our database, we have a huge list of files in a table that we would like to show on a treeview. The thing is that the field that contains the info is saved in a string in the following format:

c:\rootfolder\2011\03\10\folder\file.docx
c:\rootfolder\2011\02\11\folder\another.docx
c:\rootfolder\2011\03\10\folder\thisfile.docx

They are all saved in an object List<Item> that contains a property whose name is Object.FullPath

I was wondering if the wpf radtreeview has already built-in on the control where you pass the info and automatically parses the content.

Any thoughts?

1 Answer, 1 is accepted

Sort by
0
Petar Mladenov
Telerik team
answered on 14 Jun 2011, 11:13 AM
Hi Christian,

Could you please take a quick look at this help article describing how to build a RadTreeView that corersponds to your file system ? For showing the docx files , you may use the RadRichTextBox for WPF.
Please let us know if this helped you.

Kind regards,
Petar Mladenov
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
Tags
TreeView
Asked by
krees
Top achievements
Rank 2
Answers by
Petar Mladenov
Telerik team
Share this question
or