Completed
Last Updated: 22 Jul 2016 07:12 by ADMIN
ADMIN
Ianko
Created on: 01 Sep 2015 11:40
Category: FileExplorer
Type: Bug Report
0
Not so common files cannot be uploaded via drag-and-drop, but available for upload via the upload dialog
When trying to drag files with not-so-common extensions to upload, they are not uploaded.

For the time being, you can workaround the issue by using this patch:

<telerik:RadFileExplorer runat="server" ID="RFE1">
    <Configuration ViewPaths="~/" UploadPaths="~/" DeletePaths="~/" SearchPatterns="*.*"/>
</telerik:RadFileExplorer>


<script>
    Telerik.Web.UI.RadFileExplorer.prototype._onAsyncUploadFilesUploading = function (sender, args) {
        var currentDroppedFileType = this._pullNextDroppedFileType();
        if (this._isDropUploadCancelled === true) {
            args.set_cancel(true);
            if (this._isThisLastUploadingFile()) this._finalizeFileDrop();
        }
        this._currentUploadRow = args.get_row();

        if (this._btnUpload != null) {
            this._btnUpload.control.set_enabled(false);
        }
    };
</script>
0 comments