Edit this page

error

Triggered when the AJAX request that fetches a pane content has failed.

Event Data

e.xhr jqXHR

The XHR request object, as returned from jQuery.ajax

e.status String

The status of the request, as returned from jQuery.ajax

Example - subscribe to the "error" event during initialization

<div id="splitter">
  <div>Pane A</div>
  <div>Pane B</div>
</div>
<script>
$("#splitter").kendoSplitter({
  error: function(e) {
    console.log(
        "Pane #" + $(e.pane).index() + " could not be loaded from server" +
        " (status " + e.xhr.status + ")"
    );
  }
});
</script>

Example - subscribe to the "error" event after initialization

<div id="splitter">
  <div>Pane A</div>
  <div>Pane B</div>
</div>
<script>
function splitter_error(e) {
    console.log(
        "Pane #" + $(e.pane).index() + " could not be loaded from server" +
        " (status " + e.xhr.status + ")"
    );
}
$("#splitter").kendoSplitter();
var splitter = $("#splitter").data("kendoSplitter");
splitter.bind("error", splitter_error);
</script>
Is this article helpful? Yes / No
Thank you for your feedback!

Give article feedback

Tell us how we can improve this article

close
Dummy