c# - Microsoft JScript 运行时错误 : AjaxControlToolkit requires ASP. NET Ajax 4.0 脚本

标签 c# asp.net .net-3.5 ajaxcontroltoolkit

当我尝试运行我的 aspx 应用程序时出现此错误,即使我在 3.5 框架中也是如此。

Microsoft JScript 运行时错误:AjaxControlToolkit 需要 ASP.NET Ajax 4.0 脚本。确保引用了正确版本的脚本。如果您使用的是 ASP.NET ScriptManager,请切换到 AjaxControlToolkit.dll 中的 ToolkitScriptManager。

我搜索 SO 并尝试了 this post ("AjaxControlToolkit requires ASP.NET Ajax 4.0 scripts 中的解决方案"),但我仍然收到错误。我在这里尝试了解决方案 AjaxControlToolkit requires ASP.NET Ajax 4.0 scripts.,但没有成功。

我使用的是 VS 2008 SP 1。在我的 refrences 文件夹中,AjaxControlToolkit 的版本是“3.5.50401.0” 有什么解决这个问题的想法吗?

最佳答案

根据您之前的帖子,您可能有一个 UpdatePanel 控件。确保您没有更新面板控件。它们不适用于 Telerik 控件(根据我的经验)。

关于c# - Microsoft JScript 运行时错误 : AjaxControlToolkit requires ASP. NET Ajax 4.0 脚本,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/16365873/

相关文章:

c# - 上传文件控件在后面的代码中不显示任何文件

c# - 使用 TypeConverter 进行依赖注入(inject)

c# - 使用 JQuery Ajax 和 ASP.NET 通用处理程序时必须采取的除 XSS 和 CSRF 预防之外的安全措施

c# - 无法从特定角色中删除用户

c# - 从当前日期获取星期几并指定星期几

.net-3.5 - 我在哪里可以获得 VS 2008 的 PLinq?

windows-8 - 适用于Windows 8的可再发行的离线.NET Framework 3.5安装程序

c# - 像 facebook 一样格式化时间

c# - 为什么不能在静态类中重载运算符?

c# - 从服务器端 ASP.Net 将 Javascript 函数绑定(bind)到 TreeView CheckBox