在asp.net网站上使用ajax [英] working with ajax in asp.net web site

查看:79
本文介绍了在asp.net网站上使用ajax的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好.
我在网站上使用Ajax时遇到问题.
当我使用.Net 3.5 Framework时,我想在我的网页中使用AutoCompleteExtender
它显示类似
的错误
无法从程序集"System.Web.Extensions,版本= 3.5.0.0,区域性=中性,PublicKeyToken = 31bf3856ad364e35"中加载类型"System.Web.UI.ScriptReferenceBase".

后来我替换了

Hi all.
I have a problem while working with ajax in my website.
As i am using .Net 3.5 framework.I want to use AutoCompleteExtender in my webpage
It is showing the error like

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

later I have replaced

<asp:toolkitscriptmanager runat="server" />

控制

<asp:scriptManager runat="server"/>

控件.现在没有错误.但我的网页的行为却像普通网页一样.

感谢您的帮助.

Control . now there is no error. but My web page is behaving like a normal webpage.

Thanks for any help.

推荐答案

该错误表示该dll不存在.因此,请确保它存在.您没有说过要检查的内容,也没有解释更改代码背后的理由.

jQuery是一种更好的AJAX方式
The error means that the dll is not present. So, make sure it''s present. You don''t say what you did to check on this, or explain the rationale behind changing your code.

jquery is a much better way to do AJAX


这篇关于在asp.net网站上使用ajax的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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