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

How to know that a folder is already exist

1 Answer 37 Views
FileExplorer
This is a migrated thread and some comments may be shown as answers.
Shaza
Top achievements
Rank 1
Shaza asked on 23 Jul 2011, 01:52 PM
Hey,
I'm working on adding each folder's meta data to a data base, I do that when a new folder is created, but when a folder with the same name is added FileExplorer refuses to add that folder and show a pop up message that it can't be added, I need to know when that happen to call a method on that exception case.

1 Answer, 1 is accepted

Sort by
0
Dobromir
Telerik team
answered on 25 Jul 2011, 01:27 PM
Hi Shaza,

When a folder is created RadFileExplorer call the CreateDirecotory method of its content provider, you can modify the behavior of this method Subclass the FileSystemContentProvider class (the default content provider) and override the method. You can find more detailed information regarding RadFileExplorer content provider in the following help article:
Using custom FileBrowserContentProvider


Regards,
Dobromir
the Telerik team

Register for the Q2 2011 What's New Webinar Week. Mark your calendar for the week starting July 18th and book your seat for a walk through of all the exciting stuff we will ship with the new release!

Tags
FileExplorer
Asked by
Shaza
Top achievements
Rank 1
Answers by
Dobromir
Telerik team
Share this question
or