hi,
I've been trying to figure out how to set a default value in an ultracombobox, when its dropdownstyle is dropdownlist. When I change the dropdownstyle to dropdown, I can set the default value by using ultracombobox.Text = "Text", and it works fine, but when I try the same thing when the dropdownstyle is dropdownlist, the default value does not show.
The reason I want to use dropdownlist, and not dropdown, is because dropdownlist does not allow the user to type anything into the combobox, while dropdown does.
Thanks
- Chad
Hello Chad,
You need to set the ultracombobox.Value = null;
the UltraCombo works with ValueMember and DisplayMember, is always better to set the .Value property.
Nassos