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

Changing Tab's Content

1 Answer 96 Views
TabStrip
This is a migrated thread and some comments may be shown as answers.
Michele
Top achievements
Rank 2
Michele asked on 26 Sep 2013, 07:51 AM
Hello,
   i'm using a TabStrip in which every Tab contains an iframe with a web page with JSON data loaded via AJAX. Inside of the frame i do include plenty of JS  and CSS files.

I would like to dinamically change the content of the tab, but i would like to know if it's safe to simply use the remove() call on the Tab or if i need some special actions to make sure to clean everything?

Thanks in advantage.

1 Answer, 1 is accepted

Sort by
0
Kiril Nikolov
Telerik team
answered on 27 Sep 2013, 02:21 PM
Hello Paolo,

The remove() method of the TabStrip basically remove the elements from the DOM using the jQuery's remove(). I do not think that any further code is needed in order to remove the tab, as the remove() completely removes it from the DOM.
 
Regards,
Kiril Nikolov
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
Michele
Top achievements
Rank 2
Answers by
Kiril Nikolov
Telerik team
Share this question
or