CodeSeeker

Just another developer trying to do the right thing
posts - 20, comments - 22, trackbacks - 0

My Links

News

Archives

Blogs

Thursday, December 31, 2009

DropDownList SelectedIndexChanged relies on Index AND Value

The DropDownList control's SelectedIndexChanged event relies not only on the selected Index changing, but also on the Value of the new item being different than the previously-selected one. The bottom line is that all Values in a DropDownList should be unique if you are using its SelectedIndexChanged event.

Posted On Thursday, December 31, 2009 2:54 PM | Feedback (0) |

Powered by: