Hi
I have a form that uses a Select html control. The values for the Options
are not all distinct. when i do a postback the item that is selected from
the previous pick is wrong but it has the correct value. The item turns out
to be the first in the list that has same value as the item chosen.
Here is that section of the page
<SELECT id="cntrl" name="cntrl" runat="server">
<option value="0" selected>excellent</option>
<option value="0">good</option>
<option value="0">not bad</option>
<option value="-10">bad</option>
<option value="-20">aweful</option>
</SELECT>:
So, if the option "good" or "not bad" is clicked the postback view shows
"excellent" as the pick since its the first in the list and has same value,
0 , as others. But if "bad" is chosen postback will show the correct option.
Any help is appreciated.
Dee