I’m having troubles getting RadFileExplorer to work. Listing files works fine, and viewing also, but uploading and deleting doesn’t work at all.
If I try to delete a file, I first get an error in Visual Studio in a script file loaded from a web resource (Telerik.Web.Resource.WebResource_2.axd), in _callWebService:function(_13,_14,_15), on line 29:
The error is ‘Microsoft JScript runtime error: 'this._folderCache' is null or not an object’. If I continue, I get the following response: The selected file could not be deleted because the application did not have enough permissions. Please, contact the administrator.
I’m running it from Visual Studio, using the Development Web Server, and I have Full Control rights in the directory I want to delete a file from. I also tried running Visual Studio as Administrator, which made no difference. After the error, my upload button also mysteriously disappears.
If I try to upload a file, I get no error in Visual Studio, but I get the following response in my page: E:ErikDownloadstest.jpeg : Cannot write to the target folder!
My RadFileExplorer is declared as follows:
<telerik:RadFileExplorer runat="server" ID="FileExplorer" DisplayUpFolderItem="False" Skin="Office2007" VisibleControls="Grid, Toolbar, ContextMenus">
<Configuration SearchPatterns="*.jpg,*.png,*.gif,*.css,*.htc,*.jpeg,*.bmp" />
In code-behind, the only interaction with the control is setting the ViewPaths, DeletePaths and UploadPaths, all set to the same single path, formatted as a virtual path, ending in a forward slash.
My page uses a RadScriptManager and contains an UpdatePanel, but that doesn’t seem to be the issue; the FileExplorer causes errors whether I have the UpdatePanel on the page or not.
I'm running the latest build.
Hope somebody has some suggestions.