列表框控制支持或未更改选定索引 [英] list box contorl supports or not selected index changed

查看:100
本文介绍了列表框控制支持或未更改选定索引的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我可以像在ddl控件中那样使用在列表框中更改的选定索引吗?我已经用列表框替换了我的ddl,并且可能进行了多项选择,但是我使用了按钮来触发该事件以进行多项选择.除了按钮单击之外,我是否可以不使用任何其他事件?

Can I use selected index changed in listbox like in ddl control and what''s the alternative. I have replaced my ddl with listbox and multiple selection possible but I have used button to fire the event for multiselection. Can I not use any other event other then button click

推荐答案

列表框 [
The ListControl Class[^], which is inherited by DropDownList and ListBox[^], has a SelectedIndexChangedevent, which as a result, is also inherited by the said controls. In the case of multiple selection, the event will get fired everytime you make a selection to the control.


首先,请阅读以下内容: ^ ].乱码的一些示例是我已用列表框替换了ddl",用于触发事件以进行多选的按钮".

显然,这个问题"无法回答.

—SA
First, read this: http://en.wikipedia.org/wiki/Gibberish[^]. Some examples of gibberish are "I have replaced my ddl with listbox", "used button to fire the event for multiselection".

Apparently, this "question" cannot be answered.

—SA


这篇关于列表框控制支持或未更改选定索引的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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