Populating the Autocomplete with a string Array

2 posts, 0 answers
  1. Priya
    Priya avatar
    3 posts
    Member since:
    Dec 2015

    Posted 24 Dec 2015 Link to this post

    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! 
  2. Dimiter Madjarov
    Admin
    Dimiter Madjarov avatar
    2153 posts

    Posted 25 Dec 2015 Link to this post

    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
  3. UI for ASP.NET MVC is VS 2017 Ready
Back to Top