【发布时间】:2015-09-24 09:49:07
【问题描述】:
我收到错误:
委托“System.Action”不接受 1 个参数
在创建Splitter 时,在Splitter 的其中一个窗格内呈现部分视图。错误位于窗格的Content 属性处。请建议我进行任何更改以解决问题
@(Html.Kendo().Splitter()
.Name("vertical")
.HtmlAttributes(new { style = "height:900px" })
.Orientation(SplitterOrientation.Horizontal)
.Panes(panes =>
{
panes.Add()
.HtmlAttributes(new { id = "pane1" })
.Resizable(true)
.Size("300px")
.Collapsible(false)
.Content((@<text><div>@Html.RenderPartial("GetUsers", Model)</div></text>));
})
)
【问题讨论】:
-
如果其他人得到类似的情况,我认为这个错误可能很普遍 - 请参阅 stackoverflow.com/questions/29490823/…
标签: kendo-ui treeview nested splitter