Unplanned
Last Updated: 24 Mar 2020 08:28 by ADMIN
Ross
Created on: 24 Mar 2020 08:22
Category: FileManager
Type: Feature Request
2
Expose Upload Error event in the FileManager HTML helper configuration
Expose Upload Error event in the FileManager HTML helper configuration
1 comment
ADMIN
Veselin Tsvetanov
Posted on: 24 Mar 2020 08:28

Hello,

As a temporary workaround, you could attach the error event handler to the client instance of the Upload widget:
$(document).ready(function () {
    var fm = $("#filemanager").getKendoFileManager();
    fm.upload.bind("error", function (e) {
        alert(e.XMLHttpRequest.statusText);
    })
});

Regards,
Veselin Tsvetanov
Progress Telerik

Progress is here for your business, like always. Read more about the measures we are taking to ensure business continuity and help fight the COVID-19 pandemic.
Our thoughts here at Progress are with those affected by the outbreak.