如何设计下拉列表与文本框在ASP.NET中筛选 [英] How to design Dropdown List with text box to filter in ASP.NET

查看:233
本文介绍了如何设计下拉列表与文本框在ASP.NET中筛选的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想用的地方可能包含数百个项目,用户可以键入过滤,然后在其中选择该项数据集绑定一个下拉菜单。我已经尝试了许多解决方案,但我找不到究竟是什么我一直在寻找...
我想这是在这个网站中使用的完全一样的东西...请检查链接 HTTP://www.pakwheels。 COM 并建议...谢谢

I want to place a Dropdown bound by a Dataset which may contain hundreds of items and user can type to filter and then select the item in it. I have tried many solution but I could not get what exactly I was looking for... I want to get the exact same thing which is used at this website...please check the link http://www.pakwheels.com and advise...thanks

推荐答案

您可以使用下拉选上的Dll是那么好.. !!您可以使用以下链接.. !!
下载源$ C ​​$ C .. !!你刚才只需要使用标签preFIX在页面顶部.. !!并添加dll引用.. !! DropDownChosen

you can use DropDown Chosen Dll which is so good..!! You use the below link..!! download the source code..!! you just just need to use the tag prefix at the top of the page..!! and add the dll reference..!! DropDownChosen

<%@ Register Assembly="DropDownChosen" 
Namespace="CustomDropDown" TagPrefix="cc1" %> 



<cc1:DropDownListChosen ID="DropDownListChosen1" runat="server" 
        NoResultsText="No results match." width="350px"            
        DataPlaceHolder="Type Here..." AllowSingleDeselect="true"  DisableSearchThreshold="1" >                
    </cc1:DropDownListChosen> 

这篇关于如何设计下拉列表与文本框在ASP.NET中筛选的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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