Cannot use a lambda expression as an argument to a dynamically dispatched operation Kendo ListView -
i have kendo listview want use in 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 => .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> but error when try write operations listview
cannot use lambda expression argument dynamically dispatched operation without first casting delegate or expression tree type
does knows how fix it?
@(html.kendo().listview<entity.models.docviewmodel>() .name("listview") .tagname("div") .clienttemplateid("documentlist") ) nevermind, had syntax error.
Comments
Post a Comment