Names Matter: ASP.NET’s SelectedIndexChanged Event Should Be OnSelectedValueChanged

I was rolling along one night, tired but making good progress, when one of my DropDownLists refused to fire its OnSelectedIndexChanged event. During the postback, Page_Load fired, but the OnSelectedIndexChanged event for the control did not. After some time, I finally realized that the VALUES of the ill-behaving DropDownList were all the empty string (“”) [...]
 •  0 comments  •  flag
Share on Twitter
Published on October 18, 2014 11:01
No comments have been added yet.