不能使用 lambda 表达式作为动态调度操作的参数 Kendo ListView

Cannot use a lambda expression as an argument to a dynamically dispatched operation Kendo ListView

我有这个 kendo 列表视图,我想在我的 Kendo Window

中使用
<div>
    @(Html.Kendo()
                     .Window()
                     .Name("WindowDocs")
                     .Title("Add Documente")
                     .Visible(false)
                     .Modal(true)
                     .Draggable(true)
                     .Width(440)
                     .Height(300)
                     //.LoadContentFrom("GetDocs","Controller")
                     .Content(@<text>
                        @(Html.Kendo().Upload()
                          .Name("Document")
                           .Multiple(false)
                           .Async(a => a
                        .Save("UploadDocs", "Controller"))
                         .Events(e => e.Complete("saveDocs"))
                        )
    @(Html.Kendo().ListView<DocViewModel>(@Model)
     .Name("listView")

    .TagName("div")
    .ClientTemplateId("template")
    .DataSource(dataSource => dataSource
        .Ajax()
        .Read(read => read.Action("GetDoc", "Controller"))
        )
    )    

    @(Html.Kendo().Button()
                          .Name("SubmitBtn")
                          .HtmlAttributes(new { type = "submit" })
                          .Content("Save")
                        .Events(ev => ev.Click("saveDocuments")

                        ))
       </text>))
</div>

但是当我尝试为我的 ListView 编写操作时出现此错误

Cannot use a lambda expression as an argument to a dynamically dispatched operation without first casting it to a delegate or expression tree type

有人知道如何解决吗?

 @(Html.Kendo().ListView<Entity.Models.DocViewModel>()
     .Name("listView")
            .TagName("div")
            .ClientTemplateId("DocumentList")

    )

没关系,我遇到了语法错误。