All Products
Demos
Pricing
Blogs
Docs & Support
Search
Shopping cart
Login
Contact Us
Get A Free Trial
close mobile menu
Telerik Forums
/
UI for WinForms Forum
/
Treeview
/
Is there a way to keep RadTreeview updated when user manipulates file in Windows Explorer?
Cancel
Telerik UI for WinForms
Resources
Buy
Try
Feed for this thread
2 posts, 0 answers
Nicholas
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?
Dimitar
Admin
2818 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
Close