This question is locked. New answers and comments are not allowed.
Hi,
We're trying to use a tabstrip within a Telerik window. Each tab uses the "LoadContentFrom" method to populate the tab from a partial view. The problem is that when a tab is clicked, the partial view is navigated to (as a full page) rather than loading within the tabstrip.
Any help appreciated.
Thanks,
Steven
Code sample:
We're trying to use a tabstrip within a Telerik window. Each tab uses the "LoadContentFrom" method to populate the tab from a partial view. The problem is that when a tab is clicked, the partial view is navigated to (as a full page) rather than loading within the tabstrip.
Any help appreciated.
Thanks,
Steven
Code sample:
@{
Html.Telerik().TabStrip()
.Name("TabStrip")
.Items(tabstrip =>
{
tabstrip.Add().
LoadContentFrom("Wizard1", "Portfolio", Model)
.Text("Step 1");
tabstrip.Add()
.LoadContentFrom("Wizard2", "Portfolio")
.Text("Step 2");
})
.SelectedIndex(0)
.Render();
}
public
ActionResult Wizard1()
{
return
PartialView();
}