Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
在 MVC 3 的 KendoUI 中,我需要为每个选项卡添加一个局部视图作为该选项卡的内容。
这是如何完成的,文档似乎没有显示方法。
@{ var partialData = Html.Partial("/Views/Templates/_p_myView.cshtml"); } @(Html.Kendo().TabStrip() .Name("Contents from partital") .Items(tabstrip => { tabstrip.Add().Text("Hello Partial") .Content(partialData .ToString()); }) )