how to get tabstrip selected tab id?

1 Answer 1191 Views
TabStrip
Vincent
Top achievements
Rank 1
Iron
Vincent asked on 05 Feb 2022, 03:57 AM

in pre version of Kendo UI Jquery, the follow code can get select tab id , but it is not working in recent version.

var tabStrip = $("#" + controlName).kendoTabStrip().data("kendoTabStrip");

var selectId = tabStrip.select()[0].id;

 

Please help

1 Answer, 1 is accepted

Sort by
0
Neli
Telerik team
answered on 09 Feb 2022, 12:28 PM

Hi Vincent,

I used the provided snippet to test locally. As you could see in the Dojo example linked here (using the latest version - 2022.1.119) the id of the selected tab is correctly console logged on a button click. Please let me know if I am missing something. 

Looking forward to your reply.

Regards,
Neli
Progress Telerik

Love the Telerik and Kendo UI products and believe more people should try them? Invite a fellow developer to become a Progress customer and each of you can get a $50 Amazon gift voucher.

Tags
TabStrip
Asked by
Vincent
Top achievements
Rank 1
Iron
Answers by
Neli
Telerik team
Share this question
or