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

Tabstrip rendering spurious content

1 Answer 60 Views
TabStrip
This is a migrated thread and some comments may be shown as answers.
Michael
Top achievements
Rank 2
Iron
Iron
Iron
Michael asked on 07 Jun 2016, 02:50 PM
I am using the tabstrip widget from the 2016-Q2 build in an AngularJS app and calling a function to dynamically append tabs when a user clicks a command button on a grid - the tab is added fine and I also immediately select it but when I go back (select) to the first tab (search tab w/grid) I'm seeing spurious content being rendered below it (looks like content from dynamically appended tab) - please refer to the attached screen shots that show the sequence of screen updates as well as the code being executed to append the new tab (if it does not already exist based on tab name - otherwise reselected to be made active) .

1 Answer, 1 is accepted

Sort by
0
Dimo
Telerik team
answered on 09 Jun 2016, 11:45 AM
Hi MIchael,

The provided code suggests that the TabStrip is initialized multiple times - in each close button click, which is not allowed and can cause undesired side effects.

http://docs.telerik.com/kendo-ui/intro/installation/jquery-initialization#duplicate-initialization

On a side note, please avoid sending code as a screenshot, as it is unusable. Thank you.

Regards,
Dimo
Telerik
 
Get started with Kendo UI in days. Online training courses help you quickly implement components into your apps.
 
Tags
TabStrip
Asked by
Michael
Top achievements
Rank 2
Iron
Iron
Iron
Answers by
Dimo
Telerik team
Share this question
or