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

Multiple Sources

3 Answers 52 Views
AutoCompleteBox
This is a migrated thread and some comments may be shown as answers.
Vic
Top achievements
Rank 1
Vic asked on 04 Dec 2012, 08:00 AM
Can this control be used with data from multiple sources with separators for each data source?

3 Answers, 1 is accepted

Sort by
0
Kalina
Telerik team
answered on 06 Dec 2012, 01:51 PM
Hi Vic,

I am afraid that this is not a supported scenario.

However you can implement a custom logic to get the data from the different datasouces and add it to an ordinary ArrayList.
Then you can set this ArrayList as a control datasource - you can find more details about binding to ArrayList here.


Regards,
Kalina
the Telerik team
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now.
0
Vic
Top achievements
Rank 1
answered on 10 Dec 2012, 07:14 AM
The binding part is easy.  Is there a value that I can have that will match anything that the user types in like an * for example?  If that's the case, I can manually add my own dividers between each dataset and create exactly what I'm looking for.
0
Kalina
Telerik team
answered on 13 Dec 2012, 02:23 PM
Hi Vic,

RadAutoCompleteBox performs a query for data after the user has typed some text.
Only the rows that match the text entered are returned and populated in control dropdown.
I am afraid that currently the control does not provide an option for selecting all records upon typing a particular character.
Let me suggest you try to use RadComboBox instead of RadAutoCompleteBox.


Greetings,
Kalina
the Telerik team
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now.
Tags
AutoCompleteBox
Asked by
Vic
Top achievements
Rank 1
Answers by
Kalina
Telerik team
Vic
Top achievements
Rank 1
Share this question
or