用下拉的建议文本框 [英] Text box with drop down suggestions

查看:146
本文介绍了用下拉的建议文本框的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

目前,我有我的ASP.Net C#2.0的网站数据绑定的下拉列表中有大约400个项目。我想类似像谷歌的搜索中,输入字母,只有开始以这些字母的条目弹出文本框的东西来取代它。

I currently have a databound dropdown list on my ASP.Net C# 2.0 website that has around 400 items in it. I want to replace it with something similar like the textbox in google search where you enter letter and only the entries starting with those letters pop up

什么是实现它的好方法?是否有控制已经存在,任何人都可以建议?

what is a good way of implementing it? Are there controls that already exists that anybody can suggest?

推荐答案

在看看<一个href=\"http://docs.jquery.com/Plugins/Autocomplete\">http://docs.jquery.com/Plugins/Autocomplete

另外这里是一个<一个href=\"http://www.eggheadcafe.com/tutorials/aspnet/18b6a1fa-a7cf-4507-84f2-15056fe65bb7/autocompletion-with-jque.aspx\">tutorial与ASP.Net使用

Also here is a tutorial for use with ASP.Net

这篇关于用下拉的建议文本框的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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