0
考慮一個asp:dropdownlist
基於listitem index
它將觸發SelectedIndexChangedEvent
.....爲什麼選擇的索引只會在ListItem的索引被更改後觸發?
但爲什麼再次選擇時,不會觸發事件爲同一listitem index
....
考慮一個asp:dropdownlist
基於listitem index
它將觸發SelectedIndexChangedEvent
.....爲什麼選擇的索引只會在ListItem的索引被更改後觸發?
但爲什麼再次選擇時,不會觸發事件爲同一listitem index
....
,因爲它沒有變化。
您可以通過在每次更改後重置值來解決此問題。