djpaz25 Posted May 7, 2004 Posted May 7, 2004 Have a DropDownList on a Web Form. In the DDL's SelectedIndexChanged event handler, I do things based on the selection. The problem is that the SelectedIndexChanged doesn't fire if the user drops down the list but chooses the first item on the list. I understand why it doesn't fire, since the index doesn't change. What event do I want to look at that will fire when the user clicks on the drop down list but doesn't change the selection? Or can I have no index selected when presenting to the user so that any change he makes fires SelectedIndexChanged? Thanks. Quote
fadi Posted May 7, 2004 Posted May 7, 2004 yes u should add an item at the top, like --select-- and then any change will raise selectedindexchanged Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.