This is a migrated thread and some comments may be shown as answers.

Ajax load multiplied when animations disabled?

1 Answer 15 Views
TabStrip
This is a migrated thread and some comments may be shown as answers.
Yvan
Top achievements
Rank 1
Yvan asked on 10 Feb 2014, 01:57 PM
Dear Kendo-ites,

I'm using a tabstrip with ajax calls (contentUrls) as follows:

var $tabs = $("#tab");
$tabs.kendoTabStrip({
    animation: { open: { effects: "fadeIn"} },
    contentUrls: [
                'index.cfm?action=search_events',
                'index.cfm?action=search_requests',
                'index.cfm?action=search_documents'
            ]
});

It works like a charms, however when I disable the animation (I tried to set it to false, none, null), I can see in the debugger/console that a call to the same contentUrl is being made 3 times instead of one.

1 Answer, 1 is accepted

Sort by
0
Petur Subev
Telerik team
answered on 12 Feb 2014, 08:41 AM
Hello Stephane,

I tried to modify the following online demo (which uses the same approach as your) and set the animation to false. It still behaves the same way - only one AJAX request is made for each of the content tabs.

Please demonstrate your case with a demo project so we can advise you how to troubleshoot the case.

Kind Regards,
Petur Subev
Telerik
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
Tags
TabStrip
Asked by
Yvan
Top achievements
Rank 1
Answers by
Petur Subev
Telerik team
Share this question
or