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

TabStrip.select(index) is not working

1 Answer 129 Views
TabStrip
This is a migrated thread and some comments may be shown as answers.
Raghavendra
Top achievements
Rank 1
Raghavendra asked on 04 Jun 2014, 11:01 AM
I've Two tabs, First tab where I've defined class = "k-state-active". In 2nd tab, i've few buttons & Grid. Based on button click I need Grid (in the 2nd tab) to be populated (server side) after the postback. I've below JQuery to show 2nd tab after postback which is not working.


$(function () {
   $('Button').click(function () {
       var tabstrip = $("#tabstrip").kendoTabStrip().data("kendoTabStrip");​​
       tabstrip.select(1);
    });
});

With above code, I'm getting first tab instead of 2nd tab after button click. Please help.

1 Answer, 1 is accepted

Sort by
0
Alex Gyoshev
Telerik team
answered on 09 Jun 2014, 07:42 AM
Hello Raghavendra,

We could not reproduce the problem in this jsBin. Can you please elaborate?

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