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

Tabstrip content height after select

1 Answer 134 Views
TabStrip
This is a migrated thread and some comments may be shown as answers.
axel
Top achievements
Rank 1
axel asked on 01 Apr 2017, 09:20 AM

hello,

selecting a tab programmatically, changes the height of the previous content.

1 run http://dojo.telerik.com/UYiJU

2 click "select moscow" button

3 select  "paris" tab

 

Kind regards

axel

1 Answer, 1 is accepted

Sort by
0
Ivan Danchev
Telerik team
answered on 03 Apr 2017, 05:22 AM
Hello Axel,

You need to get a proper reference to the TabStrip prior to calling its select method. So instead of re-initializing the widget:
var tabStrip = $("#tabstrip").kendoTabStrip().data("kendoTabStrip");
you can get a reference like that:
var tabStrip = $("#tabstrip").data("kendoTabStrip");

Your dojo example with this change added.

Regards,
Ivan Danchev
Telerik by Progress
Try our brand new, jQuery-free Angular 2 components built from ground-up which deliver the business app essential building blocks - a grid component, data visualization (charts) and form elements.
Tags
TabStrip
Asked by
axel
Top achievements
Rank 1
Answers by
Ivan Danchev
Telerik team
Share this question
or