Not able to Rename and Delete (Upload Works)

3 posts, 0 answers
  1. Marc
    Marc avatar
    34 posts
    Member since:
    Oct 2007

    Posted 08 Apr 2010 Link to this post

    I have the following code, I get a standard prompt when renaming/deleting which prevents those actions from happening. Upload/View work great (also, new folder creation worked too when I had that enabled).  The C# running on postback or not makes no difference.

    "The selected file could not be deleted because the application did not have enough permissions.  Please, contact the administrator."

    <telerik:RadFileExplorer ID="RadFileExplorer1" runat="server" Height="150px" Width="450px" TreePaneWidth="122px" VisibleControls="Toolbar,ContextMenus,Grid"  
        EnableCreateNewFolder="False" ExplorerMode="Default"></telerik:RadFileExplorer> 

            protected void Page_Load(object sender, EventArgs e) 
                if (!Page.IsPostBack) 
                    //CONFIGURE EVERYTHING 
                    RadFileExplorer1.Configuration.UploadPaths = new string[] { virtualPath }; 
                    RadFileExplorer1.Configuration.ViewPaths = new string[] { virtualPath }; 
                    RadFileExplorer1.Configuration.DeletePaths = new string[] { virtualPath }; 
                    RadFileExplorer1.InitialPath = virtualPath; 
                    //Remove some buttons 
                    RadToolBarButton backBtn = null
                    RadToolBarButton forwardBtn = null
                    foreach (RadToolBarButton btn in RadFileExplorer1.ToolBar.Items) 
                        if (btn.Value == "Back"
                            backBtn = btn; 
                        else if (btn.Value == "Forward"
                            forwardBtn = btn; 
                    if (backBtn != null
                    if (forwardBtn != null
                    //set the props for the upload control 
                    RadFileExplorer1.Grid.MasterTableView.NoDetailRecordsText = "Upload files using right mouse click or the upload button."
            private void SetUploadProperties() 
                string[] extensionsSearch = new string[XMLFileExtensions.AllowedFileTypes.Count]; 
                for (int x = 0; x < XMLFileExtensions.AllowedFileTypes.Count; x++) 
                    extensionsSearch[x] = "*." + XMLFileExtensions.AllowedFileTypes[x].FileExtension; 
                RadFileExplorer1.Configuration.SearchPatterns = extensionsSearch; 
                RadFileExplorer1.Configuration.MaxUploadFileSize = 10485760;  

  2. Dobromir
    Dobromir avatar
    1633 posts

    Posted 13 Apr 2010 Link to this post

    Hi Marc,

    I tried to reproduce the problem with the provided information but to no avail - some of the elements' declarations were missing in the provided code, so I used generic values. Could you please provide more detail information on the subject:
    • What version of RadControls you are using in your project?
    • Under which browser and its version this problem occurs?
    • Could you please open a support ticket and provide a sample runnable project that reproduce the problem so we can investigate it further?
    • Could you please provide the exact steps that need to be executed in order to reproduce the problem?

    Best wishes,
    the Telerik team

    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
  3. DevCraft R3 2016 release webinar banner
  4. Marc
    Marc avatar
    34 posts
    Member since:
    Oct 2007

    Posted 15 Apr 2010 Link to this post

    Sorry, it turns out I had an extra slash in my paths.  After removing that it worked fine.
Back to Top