So I originally defined a TabStrip and manually loaded the content using LoadContentFrom with an Action which returned a PartialView of content defined in another .cshtml. It worked fine.
Now I want to do something similar, but have the items of the TabStrip bound to a collection. The TabStrip is binding the text of the item just fine, but the Action to get the content is never being called. How do I define it so that it does, similar to LoadContentFrom?
If my old implementation is:
@(Html.Kendo().TabStrip() .Name("tabStrip") .Items(items => { items.Add().Text("Test").LoadContentFrom("MyAction","MyController", new { id = 0 });})
)How do I translate that to:
@(Html.Kendo().TabStrip() .Name("tabStrip") .BindTo(Model, (item, category) => { item.Text = category.TestText; // works item.Action("MyActions", "MyController", new { id = 0 }); // Doesn't seem to do anything }))