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?
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.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With