Quantcast
Channel: West Wind Message Board Messages
Viewing all articles
Browse latest Browse all 10393

wwWebDropDownList text vs value

$
0
0
wwWebDropDownList text vs value
Web Connection 5.0
wwWebDropDownList text vs value
04/17/2012
06:51:28 PM
3HC14F4DD Show this entire thread in new window
Gratar Image based on email address
From:
Bob Roenigk
To:
Rick 
Attachments:
None
Rick,

After updating the server with the new Dispose() and Clear() magic, a client informed me a dropdown that was displaying text options is now only showing the numeric values. Perhaps this is a coincidental timing, but I know this was working as expected two days ago.

Here is the script.

<ww:wwWebDropDownList ID="cboUPSModel" runat="server"> <asp:ListItem Value="1">test1</asp:ListItem> <asp:ListItem Value="2">test2</asp:ListItem> </ww:wwWebDropDownList>

And what was generated.

<select autocomplete="on" id="cboUPSModel" name="cboUPSModel" size="1"> <option value="1">1</option> <option value="2">2</option> </select>

I also populated the values in the code behind, but had the same result. No text in the dropdown.

I seem to remember something about some sort of idiosyncrasy in dropdowns long ago, but could not find anything here in the archives.

~bob



Viewing all articles
Browse latest Browse all 10393

Trending Articles