首页 > 解决方案 > SmartStore 应用程序上我的服务器上的编译错误

问题描述

我已经在我的服务器上安装了 SmartStore。除了添加类别模块外,一切正常。每当我尝试添加或编辑任何类别时,都会弹出错误消息:

编译错误描述:在编译服务此请求所需的资源期间发生错误。请查看以下特定错误详细信息并适当修改您的源代码。

编译器错误消息:CS0121:以下方法或属性之间的调用不明确:'Telerik.Web.Mvc.UI.Fluent.GridToolBarCommandFactory.Template(System.Action>)'和'Telerik.Web.Mvc.UI.Fluent。 GridToolBarCommandFactory.Template(System.Func,object>)'

Line 441:   .ToolBar(commands => commands.Template(CategoryProductsGridCommands))

请帮帮我。我被卡住了:(

标签: asp.netasp.net-mvcservertelerikplesk

解决方案


经过努力,我们得到了解决方案。所以请尝试这样。

希望会奏效

.ToolBar(commands => commands.Template(pp=>GridCommands(pp)))

推荐阅读