kendo ui - LoadContentFrom with dynamic route value -
is possible specify dynamic route value in kendo ui tabstrip loadcontentfrom(string actionname, string controllername, object routevalues)
method? want embed tabstrip page show different customers , change customer data (including id) via ajax. mean tabstrip works first customer.
@code html.kendo().tabstrip() _ .name("tabstrip") _ .items(sub(tabstrip) tabstrip.add().text("tasks") _ .selected(true) _ .loadcontentfrom("list", "task", new {.customerid = model.customerid}) tabstrip.add().text("contacts") _ .loadcontentfrom("list", "contact", new {.contactid = model.customerid}) _ .render() end code
Comments
Post a Comment