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

Determine if a tab is selected

2 Answers 75 Views
TabStrip
This is a migrated thread and some comments may be shown as answers.
Josh
Top achievements
Rank 1
Josh asked on 20 Mar 2015, 07:59 PM
Hi,

I'm using version "2014.2.716"

In this version calling tabStrip.select() will return an empty array if there is no tab selected. I see this behavior is different in later versions, where the TabStrip widget instance is returned instead.

So, my question is, what is the official way to determine if a tab is currently selected or not?

By the way, it's changes like this that have made our adoption of newer releases of the framework slow/painful. Looking through KendoUI Release History I don't see any breaking changes listed for TabStrip - yet, here is one.

2 Answers, 1 is accepted

Sort by
0
Accepted
Alexander Popov
Telerik team
answered on 24 Mar 2015, 11:13 AM
Hi Josh,

I tried reproducing this, but to no avail. Basically, the select method should return a jQuery object. If that is not the case I would ask you so share a runnable example where the wrong behavior is observed, so we can investigate further.

Regards,
Alexander Popov
Telerik
 
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
 
0
Josh
Top achievements
Rank 1
answered on 24 Mar 2015, 03:36 PM
Mea culpa. :(

I'm not able to reproduce this either... I don't know what happened. Anyway, sorry for the runaround and false accusations... to much coffee.

Thanks Alexander!
Tags
TabStrip
Asked by
Josh
Top achievements
Rank 1
Answers by
Alexander Popov
Telerik team
Josh
Top achievements
Rank 1
Share this question
or