Select a path node

2 posts, 1 answers
  1. QuizzBox
    QuizzBox avatar
    45 posts
    Member since:
    Jan 2011

    Posted 02 Mar 2011 Link to this post

    i'm using the file explorer sample.
    Is there a way to select automaticaly the c:\windows\system32 node and expand it in the treeview ?
    I've tried the SelectDirectoryInTreeView function availbale in the project, but without success.
  2. Answer
    Emanuel Varga
    Emanuel Varga avatar
    1336 posts
    Member since:
    May 2010

    Posted 02 Mar 2011 Link to this post

    Hello Nermond,

    Just use a tree parsing algorithm to get to the required node, or just use the FindByTextCommand and just call Expand() on that node.

    Hope this helps, if you have any other questions or comments, please let me know,

    Best Regards,
    Emanuel Varga
    Telerik WinForms MVP
  3. DevCraft R3 2016 release webinar banner
Back to Top