如何通过将文本粘贴到下拉列表中来选择项目 [英] how to select the item by pasting text into dropdown list

查看:65
本文介绍了如何通过将文本粘贴到下拉列表中来选择项目的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述





我在网页上有一个包含100个项目的下拉列表。每次我需要在做交易时从100件物品中挑选所需物品。总是从太多的项目中挑选所需的项目是一项繁琐的工作。相反,我想将项目文本粘贴到下拉列表中,并且应该在我提交表单后选择它。我使用的是Asp.net 4.0



请在此建议。

Hi,

I have a dropdown list in web page with 100 items. Every time I need to pick the required item from 100 items while doing transaction. Always picking required item from too many items is bit tedious task. Instead I want to paste the item text into dropdown list and it should be selected once I submit the form. I am using Asp.net 4.0

Please suggest on this.

推荐答案

其中一个解决方案是使用选择控制

您可以从这里找到。

自定义ASP.NET DropdownList控件使用选择的jQuery插件 [ ^ ]
One of solution is to use Choosen Control
Which you can found from here.
Custom ASP.NET DropdownList Control Using Chosen jQuery Plugin[^]


这篇关于如何通过将文本粘贴到下拉列表中来选择项目的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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