Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
There has to be a way
Message
 
À
18/10/2002 13:10:17
Jim Rieck
Quicken Loans/Rock Financial/Title Sourc
Livonia, Michigan, États-Unis
Information générale
Forum:
ASP.NET
Catégorie:
Autre
Divers
Thread ID:
00712965
Message ID:
00712995
Vues:
9
>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
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform