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

RADCombobox with multicolumn and autocomplete

3 Answers 145 Views
ComboBox
This is a migrated thread and some comments may be shown as answers.
Wassim Brinsi
Top achievements
Rank 1
Wassim Brinsi asked on 31 Mar 2010, 06:59 PM
Hello
Is there a way to make my combobox at the same time Editable with autocomplete and multi coloumns (with use of DataTemplate).
My Wcf service returns a collection of objects and i need to show in my combobox the ID and the desscription of each object.
I want to apply my autocompletition on the ID. how can i achieve that?
I hope i was enough clear in my question.
And i hope you can help me issuying this.
Regards


Wassim

3 Answers, 1 is accepted

Sort by
0
Rosi
Telerik team
answered on 05 Apr 2010, 08:48 AM
Hi Wassim,

Thank you for contacting us.

Please review our DataBinding example. It illustrates how you can implement a MultiColumn combo using the ItemTemplate property. The last combobox in that example illustrates also the autocomplete behavior.

Greetings,
Rosi
the Telerik team

Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
0
Pranama Moorthy
Top achievements
Rank 1
answered on 31 Jul 2010, 01:58 PM
Hi Telerik team,
                             I have the below requirement. In which lets say I have a country and country Code. I want to show the Combo box to auto populate on basis of both the columns. Please refer to the diagram attached. Actually I am looking for something similar as the infragistic wincombo control (http://www.infragistics.com/dotnet/netadvantage/winforms/wincombo.aspx#Overview
). In which if you start typing in the combo box (Provided its editable), it will suggest auto populate options by considering both the Country and Code.

So in my attached example, lets say in the combo Box the user types "Au" it should look both in Country Code and Country columns of the combo box and retrieve me results (or suggest me results) where in it starts with "Au".



0
Valeri Hristov
Telerik team
answered on 02 Aug 2010, 11:16 AM
Hello,

RadComboBox can autocomplete or search using only one property of the data objects. To workaround this behavior you could create an additional property in your data object that will combine the values of the two properties - Code and Country.

Kind regards,
Valeri Hristov
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
Tags
ComboBox
Asked by
Wassim Brinsi
Top achievements
Rank 1
Answers by
Rosi
Telerik team
Pranama Moorthy
Top achievements
Rank 1
Valeri Hristov
Telerik team
Share this question
or