error

Triggered when an attempt to fetch step content with an AJAX request fails. The event will be fired only when the user clicks on the Previous or Next button, or navigates to another step using the Stepper. It will not be fired if the remote request is raised as a result of a Step.load() method call.

Event Date

e.sender kendo.ui.Wizard

The Wizard instance that triggered the event.

e.xhr jqXHR

The jqXHR object used to load the content

e.status String

The returned status.

e.step kendo.wizard.Step

The Step instance that is attempted to be populated from remote.

Example

<div id="wizard"></div>

<script>
    $("#wizard").kendoWizard({
        steps: [{
            title: "Initial step",
            contentUrl: "foo"
        },{
            title: "Second step"
        }],
        error: function(e) {
/* The result can be observed in the DevTools(F12) console of the browser. */
            console.log(e.step.options.title + " failed.");
        }
    });
</script>
In this article