Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Question on combobox behavior
Message
De
19/01/2003 17:50:21
 
 
À
19/01/2003 14:58:12
Information générale
Forum:
ASP.NET
Catégorie:
Formulaires
Divers
Thread ID:
00743291
Message ID:
00743311
Vues:
11
Kevin,

Assuming that your DataSource is a Table, you can put a filter on it's DefaultView to filter out the items that you don't want to show.

~~Bonnie


>Let's say I have a combo box that's populated with five items...but at various times I might want to programatically disable certain items [e.g. disable the 4th and 5th]
>
>In VFP, I can populate the combo box and put a '\' in front of every individual item that I want to disable. It doesn't seem that .NET recognizes this.
>
>Is there any way this can be done?
>
>Thanks,
>Kevin
Bonnie Berent DeWitt
NET/C# MVP since 2003

http://geek-goddess-bonnie.blogspot.com
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform