New to Kendo UI for jQueryStart a free 30-day trial

Error

events

Triggered when an Ajax request for content fails.

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.

<div id="dialog"></div>
<script>
$("#dialog").kendoWindow({
  error: function(e) {
/* The result can be observed in the DevTools(F12) console of the browser. */
    console.log("Request failed with status " + e.status)
  }
});
</script>
<div id="dialog"></div>
<script>
function window_error(e) {
/* The result can be observed in the DevTools(F12) console of the browser. */
  console.log("Request failed with status " + e.status)
}
$("#dialog").kendoWindow();
var dialog = $("#dialog").data("kendoWindow");
dialog.bind("error", window_error);
</script>
Not finding the help you need?
Contact Support