Is there a way to keep RadTreeview updated when user manipulates file in Windows Explorer?

2 posts, 0 answers
  1. Nicholas
    Nicholas avatar
    12 posts
    Member since:
    Nov 2017

    Posted 28 Mar 2018 Link to this post

    I have a RadTreeView that has nodes listing directories and files from a certain location in the file system. Now if I were to go into Windows Explorer and manipulate one of the files, how can I update the RadTreeView automicatically to the user's action? Say if I were to delete the file, how can I refresh the RadTreeView to show that once they do it from Windows Explorer? Is there a way? 
  2. Dimitar
    Admin
    Dimitar avatar
    2763 posts

    Posted 29 Mar 2018 Link to this post

    Hi Nicholas,

    Yes, you can use the FileSystemWatcher class to monitor such changes. Detailed information is available here: FileSystemWatcher.

    I hope this will be useful.

    Regards,
    Dimitar
    Progress Telerik
    Try our brand new, jQuery-free Angular components built from ground-up which deliver the business app essential building blocks - a grid component, data visualization (charts) and form elements.
Back to Top