First, it would be really helpful with a good example of using Grids in a TabStrip, I am sure many more than I want to do that.
I have a TabStrip with 2 tabs each containing one grid. When I load up the View containing the TabStrip it seems like both Grids tries to load its data, but only one of them (on the first/active tab) actually manage to display some data. Here is my TabStrip:
<div id="forecast">
@(Html.Kendo().TabStrip()
.Name("BackOfficeTabStrip")
.Items(tabstrip =>
{
tabstrip.Add().Text("Bostadstyper")
.Selected(true)
.Content(@<text> @Html.Action("Index", "AccommodationType")</text>);
tabstrip.Add().Text("Civilstatus")
.Selected(false)
.Content(@<text> @Html.Action("Index", "CivilStatusType")</text>);
})
)
</div>
And my "subviews" are setup as MVC partials and work fine on their own.
Are Partials the preferred way of handling "subviews" in a TabStrip? What are the settings available to control loading of contents?