hi there,
I've been trying to pass a model to a partial view that is accessed by a kendo tabstrip. but I cant get it to work. is this even possible?
here is my view
@(Html.Kendo().TabStrip()
.Name("tabsStrip")
.Items(items =>
{
items.Add()
.Encoded(false)
.Text("Computer <span class='k-state-active'></span>")
.Content(Html.Partial("_Computer", ComputerModel).ToHtmlString()) -> is there a way to pass the computer model to the partial view?
.Selected(true);
items.Add()
.Encoded(false)
.Text("User <span></span>")
.Content(Html.Partial("_User").ToHtmlString());
}))
I've been trying to pass a model to a partial view that is accessed by a kendo tabstrip. but I cant get it to work. is this even possible?
here is my view
@(Html.Kendo().TabStrip()
.Name("tabsStrip")
.Items(items =>
{
items.Add()
.Encoded(false)
.Text("Computer <span class='k-state-active'></span>")
.Content(Html.Partial("_Computer", ComputerModel).ToHtmlString()) -> is there a way to pass the computer model to the partial view?
.Selected(true);
items.Add()
.Encoded(false)
.Text("User <span></span>")
.Content(Html.Partial("_User").ToHtmlString());
}))