如何设置组合框匹配度,使其从上到下打开 [英] How Set Combobox aligment so that it opens from top to bottom

查看:91
本文介绍了如何设置组合框匹配度,使其从上到下打开的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在使用asp.net3.5.
我有一个Web表单,其中有一个包含20个项目的Ajax组合框.当我们在执行过程中将其打开时,它将Showa项目从下至上打开,而我们希望它始终从上至下打开
它会从上到下显示所有项目,如果只有2或3个项目,则效果很好.
给我最好的解决方法

I m using asp.net3.5 .
I have a webform in which there is a ajax combobox that contains 20 items .when we open it during execution it Showa items from bottom to top and we want that it always opens from top to bottom means
it will show all items from top to bottom and if there is only 2 or 3 items it works well.
Give me the best solution

推荐答案

使用带有以下标记属性的组合框
use the combo box with following tag property
<ajaxToolkit:ComboBox ID="ComboBox1" runat="server"
     AutoPostBack="False"
     DropDownStyle="DropDownList"
     AutoCompleteMode="SuggestAppend"
     CaseSensitive="False"
     CssClass=""
     ItemInsertLocation="Append" ... >


这篇关于如何设置组合框匹配度,使其从上到下打开的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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