加入收藏 | 设为首页 | 会员中心 | 我要投稿 李大同 (https://www.lidatong.com.cn/)- 科技、建站、经验、云计算、5G、大数据,站长网!
当前位置: 首页 > 百科 > 正文

AjaxControlToolkit需要ASP.NET Ajax 4.0脚本.确保引用了正确版

发布时间:2020-12-16 02:55:34 所属栏目:百科 来源:网络整理
导读:最近我开始研究VS2010,我正在引用AjaxControlToolkit 4.1.51116.0. 我遇到了运行时错误 – Microsoft JScript runtime error: AjaxControlToolkit requires ASP.NET Ajax 4.0 scripts. Ensure the correct version of the scripts are referenced. If you ar
最近我开始研究VS2010,我正在引用AjaxControlToolkit 4.1.51116.0.
我遇到了运行时错误 –

Microsoft JScript runtime error: AjaxControlToolkit requires ASP.NET
Ajax 4.0 scripts. Ensure the correct version of the scripts are
referenced. If you are using an ASP.NET ScriptManager,switch to the
ToolkitScriptManager in AjaxControlToolkit.dll.

我已经看到很多问题浮出同样的错误,但建议的解决方案是使用’ToolkitScriptManager’而不是’ScriptManager’对我来说不起作用.
在此背景下的任何帮助将不胜感激.

解决方法

确保替换< asp:ScriptManager />标记AjaxControlToolkit程序集的命名空间(例如atk):< atk:ToolkitScriptManager />.这对我有用.

(编辑:李大同)

【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容!

    推荐文章
      热点阅读