从DropDown列表中搜索usiing文本框和搜索按钮 [英] Searching from DropDown List usiing textbox and Search Button

查看:91
本文介绍了从DropDown列表中搜索usiing文本框和搜索按钮的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

您好,



我从数据库中获取数据有限的下拉列表,它包含大量数据,

只是想知道使用文本框和搜索按钮我想在dropDownList中找到数据。



首先我使用了searchListExtender一个ajax控件,但它杀了我的应用程序内存。

Hello,

I have data bounded dropdownlist from data base and it contains huge data,
just want to know that using textbox and Search Button i want to find the data in dropDownList.

first I was using searchListExtender an ajax control, but it was killing my application memory.

推荐答案

尝试这个简单的技术,只使用基本的html和javascript,也不需要ajax。



使用文本框,有在page_load中javascript中的所有项目,并在键入字母时使用数据,匹配单词的过滤结果将显示在文本框下方,速度非常快。这是一篇很老的文章(asp.net 1.1天),但这正是你要找的。



使用ASP.NET / ASP中的JavaScript进行Google-Suggest模拟
Try this simple technique, using just basic html and javascript, no ajax needed either.

Use a Textbox, have all the items in your javascript in the page_load, and play with the data as you type the letters, the filtered results for the matching word will be displayed below the textbox, very fast. This is a pretty old article(asp.net 1.1 days), but this is exactly what you are looking for.

Google-Suggest Simulation using JavaScript in ASP.NET/ASP


这篇关于从DropDown列表中搜索usiing文本框和搜索按钮的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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