我们如何搜索和过滤下拉列表的内容? [英] how can we search and filter the content of dropdownlist?

查看:80
本文介绍了我们如何搜索和过滤下拉列表的内容?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想做的是
当我在下拉列表中键入n时,如何显示国家?必须显示以n开头的国家的内容;再次输入e时,它必须显示带有ne的国家开头的列表,等等. help

actuaaly what i want to do is
how can i select the country when i type n in dropdownlist the content of country starting with n must show and when again i type e then it must show the list of country startin with ne and so on
help

推荐答案



试试这个:
http://demos.telerik.com/aspnet-ajax/combobox/examples/功能/自动完成客户端/defaultcs.aspx [ ^ ]
这可能对您有帮助.

-AK
Hi,

Try this:
http://demos.telerik.com/aspnet-ajax/combobox/examples/functionality/autocompleteclientside/defaultcs.aspx[^]
This may help you.

-AK


看看这些关于AJAX控件AutoCompleteExtender的演示:
使用Ajax AutoCompleteExtender进行自动提示 [自动完成扩展器 [ ^ ]
自动完成演示 [ XMLHttpRequest对象 [ Google Like搜索文本框 [插件-自动填充 [ UI-自动填充 [
Have a look at these for AJAX control AutoCompleteExtender demonstration:
Using Ajax AutoCompleteExtender for autosuggest[^]
Auto Complete Extender[^]
AutoComplete Demonstration[^]

Have a look at these for XMLHttpRequest:
XMLHttpRequest Object[^]
Google Like Search TextBox[^]

You can also use jQuery to get the desired result. Here:
Plugins - Autocomplete[^]
UI - Autocomplete[^]


这篇关于我们如何搜索和过滤下拉列表的内容?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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