Click here to Skip to main content
15,888,733 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
@(Html.Kendo().TabStrip()
.Name("tabstrip")

.Events(events => events
.Select("onSelect")
)
.Animation(animation =>
{
animation.Enable(false);
}))

I am using this code to disable the animation for kendo tabstrip tabs but the above codde is not working for me to disable kendo tabstrip animation

What I have tried:

@(Html.Kendo().TabStrip()
.Name("tabstrip")

.Events(events => events
.Select("onSelect")
)
.Animation(animation =>
{
animation.Enable(false);
}))
Posted
Updated 25-Nov-16 0:22am

1 solution

You can try this (js instead of their mvc helper):

HTML
<div id="tabstrip"></div>


and in your js:

$("#tabstrip").kendoTabStrip( {animation : false, select: onSelect });

or if you also want to turn off the arrow keys to navigate the tabs:

$("#tabstrip").kendoTabStrip( {animation : false, select: onSelect, navigatable : false });
 
Share this answer
 
v2

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900