File context menu Delete try to delete directory

2 posts, 0 answers
  1. Dédé
    Dédé avatar
    60 posts
    Member since:
    May 2009

    Posted 15 Jul 2009 Link to this post


    I am using 2009 Q2. I have my custom FileBrowserContentProvider.

    When I right-click on a file, and choose "Delete", the RadFileExplorer call the DeleteDirectory method.
    Should it call DeleteFile instead ?

  2. Lini
    Lini avatar
    2144 posts

    Posted 16 Jul 2009 Link to this post


    This is not normal - the file explorer should call the DeleteFile method when you select a file and chose Delete from the context menu. See if this happens with the default content provider as well. If it does - then send us a simple page where we can see the problem. If the default content provider is OK, then the problem is in the way you create the DirectoryItem and FileItem objects in your custom content provider. Double-check the information for custom content providers in our online documentation:

    All the best,
    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Check out the tips for optimizing your support resource searches.
  3. DevCraft R3 2016 release webinar banner
Back to Top