or
@(Html.Kendo().ListView(Model.ToList())
.Name(
"s-list-event-container"
)
.TagName(
"div"
)
.HtmlAttributes(
new
{ @
class
=
"s-list-container"
})
.ClientTemplateId(
"template-list-event"
)
)
<
a
class
=
"k-button k-button-icontext k-grid-View Details"
href
=
"/Reporting/Stock?Stock-page=2&Stock-pageSize=10"
><
span
></
span
>View Details</
a
>
<% Html.Kendo().Grid(Model)
.Name("Stock")
.Columns(columns =>
{
columns.Bound(o => o.SKU).Title("SKU");
columns.Template(o => Html.Truncate(o.Name, 60)).Title("Name");
columns.Template(o => Html.ActionLink(Html.Truncate(o.Region, 40), "Details", "Stock"));
columns.Bound(o => o.Type);
columns.Bound(o => o.Quantity);
columns.Command(command => command.Custom("View Details").Click("showDetails"));
})
.Pageable()
.Groupable()
.Sortable()
.Render();
%>
@(Html.Kendo().TabStrip()
.Name("inst_details_tabstrip")
.Items(tabstrip => {
tabstrip.Add().Text("Details").Content(@<
text
>@Html.Action("InstitutionDetails", "InstitutionSetup")</
text
>);
tabstrip.Add().Text("Locations").Content(@<
text
>@Html.Action("ServiceLocations", "InstitutionSetup")</
text
>);
tabstrip.Add().Text("Devices").Content(@<
text
>@Html.Action("Printers", "InstitutionSetup")</
text
>);
tabstrip.Add().Text("Users").Content(@<
text
>@Html.Action("UserList", "InstitutionSetup")</
text
>);
}))
var
tabstrip = $(
"#inst_details_tabstrip"
).data(
"kendoTabStrip"
);
tabstrip.select(tabstrip.tabGroup.find(
':contains("Users")'
));
var
item = tabstrip.items()[3];
tabStrip.reload(item);