I'm trying to add nested grid upto level 2 with kendo but getting Invalid Template error on bottom most grid.
(我正在尝试使用kendo将嵌套网格添加到级别2,但是在最底部的网格上出现无效模板错误。)
Here is my code:(这是我的代码:)
<script id="ScriptID" type="text/kendo-tmpl">
@(Html.Kendo().Grid<ViewModel>()
.Name("gridName")
.DataSource(dt => dt
.Ajax()
.Read(read => read.Action("ActioName", "Controller"))
)
.ToClientTemplate()
)
</script>
ask by Agony translate from so
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…