error

Fired when a error in the DataSource happen.

Event data

e.sender kendo.ui.FileManager

The widget instance which fired the event.

e.xhr Object

The XMLHttpRequest object.

e.status String

The request status.

e.errorThrown String

The error message.

Example

<div id="filemanager"></div>
<script>
    $("#filemanager").kendoFileManager({
      dataSource: {
        schema: kendo.data.schemas.filemanager,
        transport: {
          read: {
            url: "https://demos.telerik.com/kendo-ui/service/FileManager/Read",
            method: "POST"
          }
        }
      },
      error: function(e) {
        console.log("Request failed with status " + e.status)
      }
    });
</script>
In this article