Tabstrip filling out items programatically server side

2 posts, 0 answers
  1. Ed
    Ed avatar
    7 posts
    Member since:
    Dec 2009

    Posted 03 Oct 2013 Link to this post

    Good morning.
    I have a question.
    What will be the approach to use the tab strip in order to programitally create the tabs and inside them have custom urls that are also set on the server side.
    Right now  my controller is returning a tab object that contains the information
     public class Tab
            public int Id { get; set; }
            public string Name { get; set; }
            public string Url { get; set; }
            public bool Visible

            public string UserName{ get; set; }

            public Tab()
                Visible = true;

    @model List<Tab>
        .BindTo(Model,(item,category)  =>
            item.Text = category.Name;
    So how do i map the content url of the tabs. I say content because the html is retrieved as the user clicks on the tabsand not all at once.

  2. Daniel
    Daniel avatar
    2177 posts

    Posted 07 Oct 2013 Link to this post


    If you wish to set the URL from which the tab content should be loaded then you can use the TabStripItem ContentUrl property e.g.

    .BindTo(Model,(item,category)  =>
        item.Text = category.Name;
        item.ContentUrl = category.Url;
    Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
Back to Top