Edit this page

error

Triggered when an AJAX request results in an error.

This event won't fire if you use jQuery 3.x. More information is available here.

Event Data

e.xhr jqXHR

The jqXHR object used to load the content

e.status String

The returned status.

Attach error event handler during initialization; detach via unbind()

<div id="tabstrip">
    <ul>
        <li>Tab 1</li>
        <li>Tab 2</li>
    </ul>
    <div>Content 1</div>
    <div>Content 2</div>
</div>

<script>
    // event handler for select
    var onError = function(e) {
        // access the selected item via e.item (Element)

        // detach error event handler via unbind()
        tabStrip.unbind("error", onError);
    };

    // attach select event handler during initialization
    var tabStrip = $("#tabstrip").kendoTabStrip({
        error: onError
    }).data("kendoTabStrip");
</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