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
{
get;
set;
}
public string UserName{ get; set; }
public Tab()
{
Visible = true;
}
}
@model List<Tab>
@(Html.Kendo().TabStrip()
.Name("tabstrip")
.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.
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
{
get;
set;
}
public string UserName{ get; set; }
public Tab()
{
Visible = true;
}
}
@model List<Tab>
@(Html.Kendo().TabStrip()
.Name("tabstrip")
.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.