我在我的服务器上安装了SmartStore。除了添加类别模块之外,一切正常。当我尝试添加或编辑任何类别时,会弹出错误说:
编译错误说明:在编译服务此请求所需的资源期间发生错误。请查看以下特定错误详细信息并相应地修改源代码。
编译器错误消息:CS0121:以下方法或属性之间的调用不明确:'Telerik.Web.Mvc.UI.Fluent.GridToolBarCommandFactory.Template(System.Action>)'和'Telerik.Web.Mvc.UI.Fluent。 GridToolBarCommandFactory.Template(System.Func,对象>)”
Line 441: .ToolBar(commands => commands.Template(CategoryProductsGridCommands))
请帮帮我。我卡住了:(
在完成它之后,我们得到了解决方案。亲切地尝试这样。
希望会奏效
.ToolBar(commands => commands.Template(pp=>GridCommands(pp)))