c# - 当我在服务器端使用 RadGrid telerik 控件运行 asp.net 网页时,它会生成错误吗?

标签 c# asp.net telerik radgrid

当我在服务器上上传网页并使用 RADGrid telerik 控制页面运行该页面时,会生成错误 像这样

'~/Telerik.Web.UI.WebResource.axd' is missing in web.config. RadStyleSheetManager requires a HttpHandler registration in web.config. Please, use the control Smart Tag to add the handler automatically, or see the help for more information: Controls > RadStyleSheetManager

最佳答案

只需将 RadStyleSheetManager 添加到带有 Radgrid 的页面即可。单击扩展选项 Pane ,然后单击注册按钮(如下图橙色所示):

enter image description here

它将添加这一行:

<add path="Telerik.Web.UI.WebResource.axd" type="Telerik.Web.UI.WebResource" verb="*" validate="false"/>

在 web.config 中的 httpHandlers 部分下。

关于c# - 当我在服务器端使用 RadGrid telerik 控件运行 asp.net 网页时,它会生成错误吗?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/7776087/

相关文章:

c# - & 符号后跟 int.MaxValue 向下舍入吗?

asp.net - 使用 jQuery 设置 gridview 行

ASP.NET - 带回发触发器的文件上传

asp.net - 在asp.net中获取radgrid telerik隐藏列的值

c# - Telerik 免费测试框架与 Selenium

c# - 从字符串中获取删除的字符

c# - 使用 bg-BG 文化和 dd-MMM-yyyy 格式解析 11 月的日期时间。

c# - 如何使用 C# 在 mysql 5.1 版本中插入 unicode 值?

javascript - 如何在新窗口打开

javascript - 用于开源 NativeScript 的 AppBuilder VS 插件