Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Empty combo
Message
Information générale
Forum:
ASP.NET
Catégorie:
Autre
Titre:
Divers
Thread ID:
00884521
Message ID:
00885310
Vues:
14
>Bob,
>
>Setting -1 works for WinForms.

What works in web forms? Say on a post back I want to set the selected item back to the empty record (index 0)? SelectedIndex doesn't seem to work at all on the web forms.

I guess I can do the same that I do to find a value...

ddl.Items.FindByValue("").Selected = true;

Thanks,
BOb
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform