Provide the ability to drag/drop files into the Treeview/GridView of RadFileExplorer and automatically upload them. Currently this option is offered only over the RadAsyncUpload area inside the Upload dialog of RadFileExplorer.
Cross folder searching/filtering please.
Add configurable option to create a thumbnail for uploaded image and use it in the thumbnail preview mode if one is available
Such property will allow the developer to choose whether the warnings will be displayed as RadAlerts or standard browser alerts. In this way the built in WindowManager could be user for showing RadAlerts.
At present, when an invalid file is selected, the alert message does not clearly indicate what is the validation error - invalid extension or the size being too large. It should show a message that clearly states what the problem is so the user can fix it. For the time being you can handle the AsyncUpload's OnClientValidationFailed event and show different messages—http://docs.telerik.com/devtools/aspnet-ajax/controls/asyncupload/client-side-programming/onclientvalidationfailed. Example: ASP.NET ------------------------------- <telerik:RadFileExplorer runat="server" ID="RadFileExplorer1"> <Configuration ViewPaths="~/" UploadPaths="~/" DeletePaths="~/" SearchPatterns="*.jpg" /> </telerik:RadFileExplorer> <script> // Prevent the built-in validation alert Telerik.Web.UI.RadFileExplorer.prototype._showUploadValidationFailedAlert = function () { } function OnClientValidationFailed(sender, args) { var fileExtention = args.get_fileName().substring(args.get_fileName().lastIndexOf('.') + 1, args.get_fileName().length); if (args.get_fileName().lastIndexOf('.') != -1) {//this checks if the extension is correct if (sender.get_allowedFileExtensions().indexOf(fileExtention) == -1) { alert("Wrong Extension!"); } else { alert("Wrong file size!"); } } else { alert("not correct extension!"); } } </script> ------------------------------- C# ------------------------------- RadFileExplorer1.AsyncUpload.OnClientValidationFailed = "OnClientValidationFailed"; ------------------------------- VB ------------------------------- RadFileExplorer1.AsyncUpload.OnClientValidationFailed = "OnClientValidationFailed" -------------------------------
RadFileExplorer only natively works with standard Windows files that are on the server. This precludes us from effectively using Azure's data structures, especially blob and the newer file types. With things like Webjobs where there is no standard file structure, we need the ability to access files that are stored in a shared space.
Please consider adding file editing into the RadFileExplorer (could leverage CodeMirror). Would be a great help to sitefinity to be able to edit the css or less directly on the fly in the fileexplorer.
Upload dialog layout is broken in iPad Steps to reproduce: 1. Navigate to http://demos.telerik.com/aspnet-ajax/fileexplorer/examples/overview/defaultcs.aspx ; 2. Open the upload dialog.
FileExplorer built-in features I would like to see: 1. Support for UNC paths so that the root folder may be located in a network share as opposed to a folder under the application folder. 2. Support for sub-pathing so that it can be dynamically programmed to support direct display of target folder without having to navigate to the target folder 3. Built-in Delete function to complement the built-in Upload function 4. Optional display of checkbox column to allow for multiple selection for items to be Deleted or Downloaded 5. Built-in Progress Bar for Upload and Download functions
Uploading a file when ExplorerMode is set to FileTree causes a JavaScript error in FileExplorer. The same error is thrown in case the there is a value, set to the FileExplorer's InitialPath property.
If the AsyncUpload control is enabled in the FileExplorer when and the user uploads more that 1 file, the FileExplorer throws a JavaScript error with the following message: TypeError: this.control.get_allowMultiRowSelection is not a function
When users quickly select different folders in the TreeView and content is still loading, the caching mechanism of FileExplorer fails and loads incorrect data to the last selected folder.
For the time being the following workaround can be used: <telerik:RadFileExplorer ID="RadFileExplorer1" runat="server" Width="230px" Height="430px" DisplayUpFolderItem="true" ExplorerMode="FileTree"> </telerik:RadFileExplorer> <script> Telerik.Web.UI.RadFileExplorer.prototype._onTreeContextMenuItemClicked = function (sender, args) { var treeNode = args.get_node(); var menuItem = args.get_menuItem().get_value(); switch (menuItem) { case "Rename": treeNode.startEdit(); var nodeInput = treeNode.get_inputElement(); if (!this._allowFileExtensionRename) { var item = this._createItemFromTreeViewNode(treeNode); if (!item.isDirectory()) nodeInput.value = $T.FileExplorerHelper.stripExtension(item); } this._attachFileNameValidator(nodeInput); var treeUL = sender.get_childListElement(); this._treeKeyDownDelegate = Function.createDelegate(this, this._treeKeyDown); if (treeUL) $telerik.addHandler(treeUL, "keydown", this._treeKeyDownDelegate, true); break; case "NewFolder": if (!this._isNodeADirectory(treeNode)) { treeNode = treeNode.get_parent(); } var nodeValue = treeNode.get_value(); this.createNewDirectory(nodeValue); break; case "Delete": var selItems = sender.get_selectedNodes(); var delItem = new Array(); for (var i = 0; i < selItems.length; i++) { var currItem = this._createItemFromTreeViewNode(selItems[i]); delItem.push(currItem); } this.deleteItem(delItem); break; case "Upload": this._showUploadWindow(); break; case "Copy": var selectedItem = null; if (!treeNode.get_selected()) { selectedItem = this._createItemFromTreeViewNode(treeNode); } this._copy("tree", selectedItem); break; case "Paste": var pasteItem = this._createItemFromTreeViewNode(treeNode); this._paste(pasteItem); break; } } </script>
A workaround is to disable the embedded jQuery and use an older version (for example, 1.11.1 which is the previous version the suite used): https://docs.telerik.com/devtools/aspnet-ajax/controls/scriptmanager/disabling-the-embedded-jquery Repro steps: 1. put a file explorer on the page 2. right click a file in it and select Rename 3. enter a new name, click OK Expected: file is renamed Actual: Firefox throws TypeError: access to strict mode caller function is censored Sample markup <telerik:RadFileExplorer RenderMode="Lightweight" runat="server" ID="FileExplorer1" Width="520px" Height="310px"> <Configuration ViewPaths="~/images" UploadPaths="~/images" DeletePaths="~/images"></Configuration> </telerik:RadFileExplorer>
When two FileExplorers, used in ThumbnailsView mode, are added to a page from a user control, the navigation through the trees of both FileExplorers updates the ListView of the first explorer. video: http://screencast.com/t/9HYpIxNRznZ