Rajagopal 웃
Rajagopal 웃

Reputation: 8471

Issue in kendo UI's Tabstrip

I am using the kendo TabStrip in my sample. I have added the tabs following through documentation. And found events sample at http://demos.kendoui.com/web/tabstrip/events.html

I have tried the same sample in fiddle http://jsfiddle.net/ZrFGX/5/.

My code is looks like this,

    function onContentLoad(e) {
        alert("content loaded!");
    }

    $("#tabStrip").kendoTabStrip({
        contentLoad: onContentLoad
    });

onContentLoad is not even called single time.

Upvotes: 0

Views: 1181

Answers (1)

Mithrilhall
Mithrilhall

Reputation: 1502

As per their documentation:

contentLoad Triggered when content is fetched from an AJAX request.

I don't see any content being fetched via AJAX.

http://jsfiddle.net/qxTMm/

$(document).ready(function () {
    function onContentLoad(e) {
        alert("content loaded!");
    }

    var tabstrip = $("#tabStrip").kendoTabStrip({
        select: onContentLoad
    });
});

Upvotes: 1

Related Questions