I set the autoCompeleteMode=SuggestAndAppend In DropDownList , but when i filter it, the filtering description is Startwith not Contain.for example when i write 'b' i want to see all the words which are contain 'b' not only the words which are start with 'b' .is it possible to do it?Is it possible to do the same thing in MultiColumnComboboxes?
4 Answers, 1 is accepted
Thank you for writing.
In Q3 2011 SP1 we introduced a new property in RadDropDownList named SuggestMode that manages the AutoCompleteSuggest behavior:
radDropDownList1.DropDownListElement.AutoCompleteSuggest.SuggestMode = SuggestMode.Contains
As to your question regarding RadMultiColumnComboBox - this is controlled by the AutoFilter property. You should setup the filter expression (set the Operator property to Contains) and add that expression to MasterTemplate:
this
.radMultiColumnComboBox1.AutoFilter =
true
;
this
.radMultiColumnComboBox1.DisplayMember =
"ContactName"
;
FilterDescriptor filter =
new
FilterDescriptor();
filter.PropertyName =
this
.radMultiColumnComboBox1.DisplayMember;
filter.Operator = FilterOperator.Contains;
filter.Value =
"Maria"
;
this
.radMultiColumnComboBox1.EditorControl.MasterTemplate.FilterDescriptors.Add(filter);
For more information about RadMultiColumnComboBox filtering please, refer to this help article.
Do not hesitate to contact us if you have other questions.
Greetings,
Peter
the Telerik team
This question is about RadMultiColumnComboBox filtering.
I post one thread regarding to this issue but yet i don't have any reply.
My question is:
I the way that you(Telerik) has describe in RadControls for WinForms i implement but i have problem when this i am implementing together with AutoSizeDropDownToBestFit.
My post was:
[
Posted 5 minutes ago (permalink)
Hi,
I am using this property for best fit my column(objComboBox.MultiColumnComboBoxElement.AutoSizeDropDownToBestFit =
true;) in RadMultiColumnComboBox columns but when i have data source which have a lot of data i need to implement filtering on it.
I am implemening it in this way:
FilterDescriptor filter = new FilterDescriptor();
filter.PropertyName = objComboBox.DisplayMember;
filter.Operator =
FilterOperator.Contains;
objComboBox.EditorControl.MasterTemplate.FilterDescriptors.Add(filter);
but it's take a lot of time when the filter is auto complete.
Please how to make filtering in this controll and dont take a time.
Note: When i am not using AutoSizeDropDownToBestFit it's( Filter) works fine and i dont have delay( my data source have more then 1000 items and 3 columns), but when i have Combo which have more then 3 column and the size of DropDown is less, than the user can not see what have in that control.
What is your suggestion to eliminate this issue.
]
I will wait for your reply.
Best regards,
Gezim
You have posted your question in the other forum thread and five minutes later you are saying that you do not have an answer. Please note that although we do monitor our forums (usually within 72 hours in business days), our participation there is not obligatory. If you want to receive on time assistance from Telerik representatives, please consider purchasing one of the packages with support subscription that we offer: http://www.telerik.com/purchase.aspx.
All the best,
Peter
the Telerik team