我如何降低dropdownlist控件中查找项目的速度 [英] how i can reduce speed of find items in dropdownlist control

查看:85
本文介绍了我如何降低dropdownlist控件中查找项目的速度的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

hi
我如何降低dropdownlist控件中查找项目的速度
例如:我的下拉列表控件中有5个项目,(1524,2523,6521,1412,6531)
当我的用户单击下拉列表并搜索其项目时,他们找不到他们的项目.因为它们正在减慢类型编号.例如,当他们在1秒后键入2后写65时,结果为:2523插入为:6521
现在,我如何降低下拉列表中的搜索速度
tnx

hi
how i can reduce speed of find items in dropdownlist control
for example:i have 5 items in my dropdownlist control , (1524,2523,6521,1412,6531)
when my users click on dropdownlist and search their item, they can''t find theirs. because they are slowing type number. for example when they write 65 after 1 second type 2 , result this : 2523 insted of : 6521
now, how i can reduce speed of search in dropdownlist
tnx

推荐答案

我认为您无法更改此行为.据我所知,该控件是一个基本的IE控件,基于良好的旧API GUI元素,此超时设置在客户端OS中的某个位置,因此您无论如何都无法更改它.但是,您可以使用 Ajax自动填充 [
I don''t think you can change this behavior. As I know, the control is a basic IE one, based on the good old API GUI element, this timeout is set somewhere in the client OS, so you can not change it anyway. But, you can use Ajax autocomplete[^] for such purposes. You have quite the same result with a bit different user experience.


您可以为此目的使用ASP.NET AJAX Control Toolkit的ListSearch.您可以将其用于下拉列表.在此处 [此处 [ ^ ].
You can use ListSearch of the ASP.NET AJAX Control Toolkit for that purpose. You can use that for a drop down list. Check out the article of it here[^] and here[^].


这篇关于我如何降低dropdownlist控件中查找项目的速度的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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