Why selected index fires only once the Index of th

2019-08-03 17:06发布

问题:

Consider a asp:dropdownlist which fires SelectedIndexChangedEvent based on listitem index.....

But why the event doesn't fire for the same listitem index when selected again....

回答1:

Because it didn't change.

You can solve this by resetting the value after each change.