This is a migrated thread and some comments may be shown as answers.

Auto Complete in dropdownlist

4 Answers 237 Views
MultiColumn ComboBox
This is a migrated thread and some comments may be shown as answers.
Roya
Top achievements
Rank 1
Roya asked on 21 Apr 2012, 04:42 PM
Hi
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

Sort by
0
Peter
Telerik team
answered on 23 Apr 2012, 03:11 PM
Hello Roya,

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
RadControls for WinForms Q1'12 release is now live! Check out what's new or download a free trial >>
0
Roya
Top achievements
Rank 1
answered on 26 Apr 2012, 01:10 PM
Thank you Peter
0
Gezim
Top achievements
Rank 1
answered on 19 Jun 2012, 11:45 AM
Hi Peter,
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

0
Stefan
Telerik team
answered on 22 Jun 2012, 09:32 AM
Hello 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
RadControls for WinForms Q1'12 release is now live! Check out what's new or download a free trial >>
Tags
MultiColumn ComboBox
Asked by
Roya
Top achievements
Rank 1
Answers by
Peter
Telerik team
Roya
Top achievements
Rank 1
Gezim
Top achievements
Rank 1
Stefan
Telerik team
Share this question
or