Kendo TabStrip: Rendering Action into tab in MVC 4
asp.net, asp.net-mvc, kendo-ui
Solution
I found it:
@(Html.Kendo().TabStrip()
.Name("tabMain")
.Items(items =>
{
items.Add()
.Text("My Tab Title")
.Content(Html.Action("Index","MyChildController").ToString());
})
)
Trick is to call .ToString on the Html.Action call.
Problem
I've been trying to render and Action @Html.RenderAction(...) into the .Text() of a Kendo Tab Strip with out success. Is there a way to render a full action into a tab?