Kendo MVC TabStrip Disable Animation; Animation getting reenabled on javascript select of tab.

2 posts, 0 answers
  1. Mahendra
    Mahendra avatar
    1 posts
    Member since:
    Jun 2015

    Posted 03 Jun 2015 Link to this post

    Hi Tlerik Team,


    I'm trying to disable the animation for the Kendo MVC TabStrip and I did like 

     @{ Html.Kendo().TabStrip()     
             .Events(events => events.Select("onSelect"))
              .Animation(animation =>

    And its working as expected; But when I change the tab using the java script code, the animation is enabled again!!!!

    Here is the code that I used.

      var tabstrip = $("#tabxyz").kendoTabStrip().data("kendoTabStrip");  
      var myTab = tabstrip.tabGroup.children("li").eq(selectedTab);;


    Please let me know what i'm doing wrong!! 

    Thanks in advance.





  2. Rosen
    Rosen avatar
    3246 posts

    Posted 05 Jun 2015 Link to this post

    Hello Mahendra,

    By looking at the code you have pasted, I suspect that the issue is caused by the fact that a new TabStrip widget is created in the "somemethod". In order to get the already existing instance of the TabStrip from a given element, you should call the .data("kendoTabStrip") directly on the element:



    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
Back to Top