Author: sbeckstead | Posted on: 7/13/2010 8:40:03 PM | Views : 498

This is I believe a serious problem.  While writing a web application Using MS Web Developer 2010 Express, I noticed a rather disconcerting behavior of the asp:DropDownlist control.  When using databinding and you assign a DataValueField the selectedIndexChanged does not fire or change unless the value of the DataValueField  changes no matter what the value of the DataTextField.   This means that if I have several different text values (States/Provinces) with the same datavalue (US/Canada) I cannot fire an event if the text changes (the textchanged does not fire either)  as long as the datavalue doesn't change (all States are US all Provinces are CA).  This would seem to be a counter intuitive behavior?      
               text            data
   ...

Go to the complete details ...