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

TreeView with system icons

3 Answers 112 Views
Treeview
This is a migrated thread and some comments may be shown as answers.
József Király
Top achievements
Rank 1
József Király asked on 14 Mar 2010, 02:55 PM
Hey there!

I'm working on a project what implements a treeView and a detailed ListView for file browsing. And I would like to grab the icons and file description from the system (from Windows) and add it automatically to the treeView nodes and the listview items too.

Could you tell me how is this possible in an easy way?

3 Answers, 1 is accepted

Sort by
0
Georgi
Telerik team
answered on 18 Mar 2010, 08:56 AM
Hello József,

Thank you for contacting us.

This feature does not come out of the box with Telerik RadControls for WinForms. You may however use some Native API Interop and extract those images. For more information you may follow this article.

I hope this helps. Do not hesitate to contact us if you have other questions.


Regards,
Georgi
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
József Király
Top achievements
Rank 1
answered on 18 Mar 2010, 04:31 PM
Yes, that's why I was asking this question.

Maybe a new element called folderTree and fileView? Same as treeView and ListView, but with automatic icon and file info extraction from the system, and some easy-to-use commands like Update(folderTree,string Directory) ?
0
Nikolay
Telerik team
answered on 24 Mar 2010, 08:52 AM
Hello József Király,

Thank you for the question.

We consider the requested functionality as a finished standalone application rather than a RadTreeView control to start from. Therefore, we currently do not have plans to implement it in RadTreeView itself. However, you can refer to our Examples application, section Integration >> File Explorer. It demonstrates how you can build a tree of the directories on your system. As to the icons, you can refer to the article that my colleague Georgi has given.

Sincerely yours,
Nikolay
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
József Király
Top achievements
Rank 1
Answers by
Georgi
Telerik team
József Király
Top achievements
Rank 1
Nikolay
Telerik team
Share this question
or