dynamically create tabstrips

4 posts, 0 answers
  1. Pawan
    Pawan avatar
    9 posts
    Member since:
    Aug 2012

    Posted 14 Aug 2012 Link to this post

    Hi ,

    I have to dynamically create a Tabstrips . Suppose there are  Buttons(like 'profile" ,"Home", "ContactUS ","Services") .  Also I  have created partial view for this(profilePartialview , HomePartialview ,ContactusPartialView ,ServicePartialview) . Now when i click on "profile" than "profilePartialview" should be  rendered as tabStrips and Similary others. 

    Please assist me how can i  achieve this.

  2. Geet
    Geet avatar
    2 posts
    Member since:
    Nov 2012

    Posted 27 Nov 2012 Link to this post

    Did you get any solution for this? I'm facing the same problem.
  3. Kendo UI is VS 2017 Ready
  4. Gary
    Gary avatar
    28 posts
    Member since:
    Apr 2011

    Posted 29 Nov 2012 Link to this post

    I am doing something similar at the moment. In HTML, not MVC.

    So, to create a tab with dynamic content, just use the API calls append, insertBefore, insertAfter etc.

    I use append:

    myTabs.append({ text: "Tab Name", contentUrl: "/Content/ParialView.html" });

  5. Roy
    Roy avatar
    30 posts
    Member since:
    Oct 2007

    Posted 13 Feb 2014 Link to this post

    I am having a similar issue, I am trying to build tabs dynamically in the change event of a datasource, and then inject a template into each tabs content that uses a different datasource. has anyone been able to accomplish something like this?
Back to Top
Kendo UI is VS 2017 Ready