TreeView with system icons

4 posts, 0 answers
  1. József Király
    József Király avatar
    3 posts
    Member since:
    Mar 2010

    Posted 14 Mar 2010 Link to this post

    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?
  2. Georgi
    Admin
    Georgi avatar
    296 posts

    Posted 18 Mar 2010 Link to this post

    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.
  3. UI for WinForms is Visual Studio 2017 Ready
  4. József Király
    József Király avatar
    3 posts
    Member since:
    Mar 2010

    Posted 18 Mar 2010 Link to this post

    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) ?
  5. Nikolay
    Admin
    Nikolay avatar
    1804 posts

    Posted 24 Mar 2010 Link to this post

    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.
Back to Top