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

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

1 Answer 9 Views
Treeview
This is a migrated thread and some comments may be shown as answers.
Nicholas
Top achievements
Rank 1
Nicholas asked on 28 Mar 2018, 04:16 PM
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? 

1 Answer, 1 is accepted

Sort by
0
Dimitar
Telerik team
answered on 29 Mar 2018, 06:54 AM
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.
Tags
Treeview
Asked by
Nicholas
Top achievements
Rank 1
Answers by
Dimitar
Telerik team
Share this question
or