Changing Tab's Content

2 posts, 0 answers
  1. Paolo
    Paolo avatar
    423 posts
    Member since:
    Jun 2009

    Posted 26 Sep 2013 Link to this post

    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.
  2. Kiril Nikolov
    Admin
    Kiril Nikolov avatar
    2564 posts

    Posted 27 Sep 2013 Link to this post

    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!
  3. Kendo UI is VS 2017 Ready
Back to Top