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

Populating the Autocomplete with a string Array

1 Answer 292 Views
AutoComplete
This is a migrated thread and some comments may be shown as answers.
Priya
Top achievements
Rank 1
Priya asked on 25 Dec 2015, 02:52 AM
I have a grid that I'm binding from the database and I have a search box for the users to find rows in the grid. I'm using Autocomplete for the search box. I want the autocomplete to list values from all columns and not just one field. I have a string array with all the values or filtered using where on the search term in my Controller but I'm not sure how to bind this array to the Autocomplete UI in the view. Can someone help me here with an example? Thanks! 

1 Answer, 1 is accepted

Sort by
0
Dimiter Madjarov
Telerik team
answered on 25 Dec 2015, 06:39 AM

Hello Priya,

You could use the approach demonstrated in the following demo to achieve the task.

Regards,
Dimiter Madjarov
Telerik
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 Feedback Portal and vote to affect the priority of the items
Tags
AutoComplete
Asked by
Priya
Top achievements
Rank 1
Answers by
Dimiter Madjarov
Telerik team
Share this question
or