Re: Problem in my DropDownList SelectedIndexChanged. I think there is a bug in DropDownList... if items have same VALUE then switching between those items doesn't trigger the event. Also selecting items with same VALUE doesn't work correctly... i.e. if there are two items in ddl..
Item 1 : Text : B ; Value : 1
Item 2 : Text : A ; Value : 1
In the above senario if you select item 2 it will select item 1 instead... since that is the first matching instance with the value of the item you actually selected (item 2)!!!
Is there a work around for this ?? I was thinking to override the value property and concatenate the index while setting the value and parsing the index out while reading it back.. but so far I haven't been able to write the required code... any help is appreciated. |