Hi,
I am having a problem using File Explorer. Uploading works fine but when I try to rename or delete any file or folder, an error pops up saying that "The selected file could not be deleted because the application did not have enough permissions...".
I have gone through the earlier posts in forums regarding this problem but could not get to find out the solution. I am using ASP.NET AJAX Q3 2009 SP2 version and the declarations of file explorer in my codes are as follow:
> in .aspx
| <telerik:RadFileExplorer ID="fileExplorer" runat="server" |
| DisplayUpFolderItem="True" |
| EnableCopy="True" Skin="Windows7" |
| OnClientLoad="OnClientLoad" |
| Configuration-MaxUploadFileSize="2000000000" |
| Width="524px" TreePaneWidth="150px"> |
| </telerik:RadFileExplorer> |
> in .aspx.cs
| protected void Page_Load(object sender, EventArgs e) |
| { |
| if (!Page.IsPostBack) |
| { |
| string[] searchPatterns = new string[1]; |
| searchPatterns[0] = "*.*"; |
| fileExplorer.Configuration.SearchPatterns = searchPatterns; |
| string[] paths = new string[1]; |
| paths[0] = "~\\Root\\" + (string)Session["userName"]; |
| fileExplorer.Configuration.ViewPaths = paths; |
| fileExplorer.Configuration.UploadPaths = paths; |
| fileExplorer.Configuration.DeletePaths = paths; |
| } |
| } |
Kindly suggest me a simple solution to sort this problem out. Thanks
Regards
Muhammad Farjad
