gpt4 book ai didi

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

转载 作者:行者123 更新时间:2023-11-30 21:11:58 26 4
gpt4 key购买 nike

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

'~/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/

26 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com