如何将 Microsoft AJAX 自动完成文本框添加到现有 ASP.NET 3.5 SP1 Web 应用程序项目?

发布于 2024-07-11 15:06:14 字数 90 浏览 5 评论 0原文

我几年前玩过这个,当时它是“atlas”。 现在我想使用它,我假设它是 VS 工具箱中的一个。 现在我在网上能找到的只是完全混乱!

谢谢。

I played with this years ago when it was "atlas". Now I want to use it I assumed it would be a in the VS toolbox. Now all I can find on the web is total confusion!

Thanks.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(6

何以笙箫默 2024-07-18 15:06:14

您下载了 AJAX 控制工具包吗? 它可以在 CodePlex 上找到。 一旦你这样做了,并将工具包 dll 放入你的 bin 文件夹中,你就可以开始使用它了。

Have you downloaded the AJAX Control Toolkit? It's available on CodePlex. Once you do that, and put the toolkit dll in your bin folder, you can begin using it.

桃扇骨 2024-07-18 15:06:14

我不知道如何使用 Ajax.Net 来做到这一点。 不过,我喜欢尽可能多地使用 jQuery 来处理 Ajax/JavaScript 内容。 它干净、简单、快速。

那么我可以推荐 jQuery 自动完成插件吗?
http://www.pengoworks.com/workshop/jquery/autocomplete.htm

编辑:所以有一个 Ajax.net 版本 那里是这里的教程: http://www.asp.net/learn /AJAX-videos/video-122.aspx

I don't know how to do it using Ajax.Net. However, I like to use jQuery for as much Ajax/JavaScript stuff as I can. it's clean, simple, and fast.

So May I recommend the jQuery Autocomplete plugin?
http://www.pengoworks.com/workshop/jquery/autocomplete.htm

Edit: So there is a Ajax.net version There is a tutorial here: http://www.asp.net/learn/AJAX-videos/video-122.aspx

伤感在游骋 2024-07-18 15:06:14

我同意 Damien,现在 jQuery 在任何 .NET 开发工具集中几乎(或将变得)普遍存在,我推荐 jQuery 自动完成插件。 我在 30 分钟内就完成并运行了。

I agree with Damien, now that jQuery is pretty much (or will become) ubiquitous in any .NET devs tool set I'd recommend the jQuery autocomplete plugin. I had it up and running in 30 mins.

虫児飞 2024-07-18 15:06:14

以下是 AJAX 控件工具包的自动完成示例的链接。 设置起来有点困难,因为您必须设置并附带 Web 服务。 如果我从头开始,我可能会使用 Damien 提到的 jQuery 方法。 如果 AJAX 控制工具包的下一个版本是使用 jQuery 重写的,我不会感到惊讶,因为去年 10 月 ScottGu 的团队认可了它。

Here's a link to the autocomplete sample for AJAX Control toolkit. It's a little difficult to set up because you have to set up and accompanying web service. If I were to start from scratch, I would probably use the jQuery method Damien mentioned. I wouldn't be surprised if the next version of the AJAX Control Toolkit was rewritten using jQuery since ScottGu's team endorsed it last October.

风向决定发型 2024-07-18 15:06:14

如果将 AjaxControlToolkit 集成到现有站点后出现奇怪的脚本错误,请检查以确保正确设置 web.config(包括参考程序集的版本号)。 您可能希望使用 AJAX 模板在 Visual Studio 中创建一个新的“虚拟”AJAX 网站,以查看 web.config 中需要什么。

If you have bizarre scripting errors after integrating the AjaxControlToolkit into an existing site, then check to make sure you have setup your web.config properly (including the version numbers for the reference assemblies). You might want to create a new "dummy" AJAX web site in Visual Studio, using the AJAX template, to see what all is needed in the web.config.

蓝天白云 2024-07-18 15:06:14

我发现 AJAX Control Toolkit 解决方案非常慢。 当然,我愿意承认这是我的错。 我们已经购买了 Telerik 的控件套件并使用了他们的,它具有相当好的性能。

I found the AJAX Control Toolkit solution to be really slow. Of course I'm open to it being my fault. We had already purchased the Telerik suite of controls and used theirs which had pretty good performance.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文