下拉列表简单问题 [英] Dropdownlist Simple Issue
本文介绍了下拉列表简单问题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
您好!
我有一个DropDownList,其中有一个selectedindexchange事件,但它只是第一次触发,
例如,当我第一次从DDL中选择一个值时,它会触发selectedindexchange事件,但是当我重新选择时,它不会触发该函数。
Hello !
I have a DropDownList , there is a selectedindexchange event in it , but it triggers only for the first time ,
e.g when i first select some value from DDL it triggers the selectedindexchange event but when i re-select , it do not triggers the function.
推荐答案
为此设置下拉列表属性AutoPostBack = true。
Set Dropdown List property AutoPostBack=true for that.
这篇关于下拉列表简单问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文