Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Text in all comboboxes in form is selected
Message
De
22/08/2007 13:33:38
 
 
À
Tous
Information générale
Forum:
ASP.NET
Catégorie:
Formulaires
Titre:
Text in all comboboxes in form is selected
Divers
Thread ID:
01249647
Message ID:
01249647
Vues:
68
I added a lot of myComboBox controls to form.
Every combobox shows all its content selected.
Selection is removed only when I tab off from the control.

How to hide selection initially?
There is not HideSelection property in Combobox.

class myComboBox : ComboBox {
internal myComboBox(DataRow dr, DataTable table) {
DisplayMember = "DisplayMember";
ValueMember = "ValueMember";
DataSource = lookup.GetPickList();
DataBindings.Add("SelectedValue", table,
dr["controlsrc"].ToString());
AutoCompleteSource = AutoCompleteSource.ListItems;
AutoCompleteMode = AutoCompleteMode.SuggestAppend;
}}
Andrus
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform