如何在下拉列表中插入复选框 [英] How to insert check boxes in a drop down list

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

问题描述

大家好,



i我准备了一个项目,我必须让用户有权选择多个项目。



我完成了以下操作。



1.我创建了一个下拉列表,其中的项目是文本格式。

2.现在用户必须选择一个项目,然后单击添加按钮,用户必须重复此步骤,直到他选择所需的所有选项。

3.也是一次用户点击添加他选择的项目在列表框中更新。





现在看起来不太好看。我想创建一个下拉列表,其中有复选框,用户可以选择项目列表,一旦他们点击子目录,所有选中的项目都存储在列表框中。



请任何人分享你宝贵的建议。



谢谢

解决方案

看看这个:< a href =http://www.codeproject.com/Articles/21085/CheckBox-ComboBox-Extending-the-ComboBox-Class-and> CheckBox ComboBox扩展ComboBox类及其项目 [ ^ ]


请参阅以下链接



带有复选框的DropDownList



下拉检查-列表

Hi All,

i am preparing one project in which i have to give a right to a user to select more then one item.

for that i have done the following.

1. I created a dropdown list in which items are in text format.
2. Now user have to select one item and then click on add button, user have to repeat this step till he select all the option he needed.
3. also once user click on add his selected items get updated in list box.


Now this is not looking good. i want to create a drop down list which will have check box user can select list of items and once they click on submite all selected items are stored in a listbox.

please can any one share your valuable suggestions.

thanks

解决方案

Have a look at this: CheckBox ComboBox Extending the ComboBox Class and Its Items[^]


Refer to below links

DropDownList with checkboxes

Dropdown-check-list


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

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