How to know that a folder is already exist

2 posts, 0 answers
  1. Shaza
    Shaza avatar
    19 posts
    Member since:
    Apr 2011

    Posted 23 Jul 2011 Link to this post

    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.
  2. Dobromir
    Admin
    Dobromir avatar
    1633 posts

    Posted 25 Jul 2011 Link to this post

    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!

  3. UI for ASP.NET Ajax is Ready for VS 2017
Back to Top