Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Text in all comboboxes in form is selected
Message
From
22/08/2007 13:33:38
 
 
To
All
General information
Forum:
ASP.NET
Category:
Forms
Title:
Text in all comboboxes in form is selected
Miscellaneous
Thread ID:
01249647
Message ID:
01249647
Views:
67
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
Next
Reply
Map
View

Click here to load this message in the networking platform