DropDownList's SelectedIndexChanged event not firing

前端 未结 7 710
一生所求
一生所求 2020-11-29 17:49

I have a DropDownList object in my web page. When I click on it and select a different value, nothing happens, even though I have a function wired up to the SelectedIn

相关标签:
7条回答
  • 2020-11-29 18:29

    I know its bit older post, but still i would like to add up something to the answers above.

    There might be some situation where in, the "value" of more than one items in the dropdown list is duplicated/same. So, make sure that you have no repeated values in the list items to trigger this "onselectedindexchanged" event

    0 讨论(0)
提交回复
热议问题