Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
There has to be a way
Message
 
To
18/10/2002 13:10:17
Jim Rieck
Quicken Loans/Rock Financial/Title Sourc
Livonia, Michigan, United States
General information
Forum:
ASP.NET
Category:
Other
Miscellaneous
Thread ID:
00712965
Message ID:
00712995
Views:
8
>All,
>
> I have a webform with a dropdown box on it. Is there a built in way to set the selected item in the combo box?

Hi Jim
From code, you can assign the DropList.SelectedIndex property to a number (index of the item), or you can navigate the Items collection and set the Selected property to true for the desired item.

On the designer -if your list contents are fixed- you can assign the descriptions, value and selected attribute of each item thru the [..] button on the Items property.

HTH and bye.
Jose.
------------------
Jose Marcenaro
Tercer Planeta - Argentina
http://www.tercerplaneta.com
Previous
Reply
Map
View

Click here to load this message in the networking platform