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 ?
Thanks.
1 Answer, 1 is accepted
0
Lini
Telerik team
answered on 16 Jul 2009, 12:47 PM
Hello,
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: