asp.net - 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))
请帮帮我。我被卡住了:(
解决方案
经过努力,我们得到了解决方案。所以请尝试这样。
希望会奏效
.ToolBar(commands => commands.Template(pp=>GridCommands(pp)))
推荐阅读
- vue.js - vue-filepond 组件中已上传文件的预览
- python - 无法创建 Heroku postgresSql 表
- mysql - spring data r2dbc 使用@Transaction 有一个缓存
- amazon-web-services - 如何使用秘密管理器为 RDS 创建 DMS 目标端点
- java - 具有“默认”对象类型的嵌套对象的动态反序列化
- multithreading - 德尔福。如何从表单向线程发送消息并让线程处理消息
- android - 检查不同的应用程序是否被授予权限
- reactjs - 在 ReactJS 中登录需要两次单击
- spring-boot - 是否可以将权限映射到与 Spring Boot 集成的 Keycloak 中的 HTTP 方法?
- arrays - 在 Shell 脚本中将字符串转换为数组