I have an ultracomboeditor, when the user enter 1st character the list should display , when the user enters 2nd character the list with 1st+ 2nd charcter should display
for e.g. if "bu" is entered, all the items starting with bu should appear
this.ultraComboEditor1.AutoCompleteMode = Infragistics.Win.AutoCompleteMode.Suggest;
or
this.ultraComboEditor1.AutoCompleteMode = Infragistics.Win.AutoCompleteMode.SuggestAppend;
I have set the ultracomboeditor as follows:
this.cmbPipeline.DropDownStyle = Infragistics.Win.DropDownStyle.DropDownList;this.cmbPipeline.SortStyle = Infragistics.Win.ValueListSortStyle.AscendingByValue;this.cmbPipeline.AutoCompleteMode = Infragistics.Win.AutoCompleteMode.SuggestAppend;
But when i enter "b" the dropdown shows the items starting with b and when i try to enter "bu" it shows the items starting with "u" and not with "bu"
please suggest
Hi,
DropDownList style does not allow the user to type into the combo, so it can only match on a single character. If you want the user to be able to enter more than one character, you will need to change the DropDownStyle to DropDown and then validate when they enter in case it's not on the list.
Thanks, it is working fine
Hi Mike,
There is no property for Sorting this DropDown. Can you tell me how to sort it in alphabetical order or ascending?