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

Setting tab to active on page load

2 Answers 234 Views
TabStrip
This is a migrated thread and some comments may be shown as answers.
Brad
Top achievements
Rank 1
Brad asked on 20 Feb 2013, 07:49 PM
I have figured this out.  

Thanks

2 Answers, 1 is accepted

Sort by
0
Ryan
Top achievements
Rank 1
answered on 28 Feb 2013, 04:24 PM
Hi Brad,

What was the solution?

Thanks.
0
Dimiter Madjarov
Telerik team
answered on 01 Mar 2013, 12:00 PM
Hello,

I am posting my answer from the other support thread on this topic.



Yes, you could achieve this. You just have to add the k-state-active class to the item, that you want to be initially selected.

E.g.
<ul>
    <li>First Tab</li>
    <li>Second Tab</li>
    <li class="k-state-active">Third Tab</li>
</ul>

 

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