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

Re: Dropdown list

$
0
0
Re: Dropdown list
Web Connection 5.0
Re: Dropdown list
Dec. 6, 2012
12:54 pm
3NT0RNVIRShow this entire thread in new window
Gratar Image based on email address
From:Rick Strahl
To:BrianW
Hi Brian,

Sorry accidentally replied to the wrong message so this was in the wrong thread... here it is again.

You just add list items to the list like this:

<ww:wwWebDropDownListID="lstList"runat='server'> <asp:ListItemvalue="1">Item1</asp:ListItem><asp:ListItemValue="2">item2</asp:ListItem><asp:ListItemValue="3" Selected="True">Item3</asp:ListItem></ww:wwWebDropDownList>

You can find more info here:

wcdocs:_3ha0s50bv.htm

If the list is static and you don't need to capture the value on a Postback you can also use plain HTML for the list:

<selectid="lstList"name="lstList"><livalue="1">Item 1</li><livalue="2" selected="selected">Item 2</li></select>

Hope this helps,

+++ Rick ---


Rick Strahl
West Wind Technologies


from Maui, Hawaii

Making waves on the Web


Viewing all articles
Browse latest Browse all 10393

Trending Articles