使用Ajax控件工具包时遇到的问题 [英] Problem Facing in usage of Ajax control toolkit

查看:69
本文介绍了使用Ajax控件工具包时遇到的问题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在我的网页中,我只需要一个文本框和日期时间选择器,但我希望将其作为ajaxified页面,但是当我运行网站时出现以下错误时,控件不是问题,请提供帮助.

无法从程序集``System.Web.Extensions,Version = 3.5.0.0,Culture = neutral,PublicKeyToken = 31bf3856ad364e35''中加载类型``System.Web.UI.ScriptReferenceBase''. >
说明:执行当前Web请求期间发生未处理的异常.请查看堆栈跟踪,以获取有关错误及其在代码中起源的更多信息.

In my web page i need just a textbox and the datetime picker but i want it as ajaxified page, but the problem is not with the controls when i run the website its showing the following error please help in this.

Could not load type ''System.Web.UI.ScriptReferenceBase'' from assembly ''System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35''.

Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

推荐答案

您可以尝试以下两种修复方法之一:

1.安装.Net Framework 3.5 SP 1 [
You can try any of these two fixes:

1. Install .Net framework 3.5 SP 1[^] or

2. Change:
<ajaxToolkit:ToolkitScriptManager ID="ScriptManager1" runat="server" />



至:



to:

<asp:ScriptManager ID="ScriptManager1" runat="server" />



希望对您有所帮助:)



hope it helps :)


这篇关于使用Ajax控件工具包时遇到的问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆