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

Autocomplete with filtering serverside

1 Answer 273 Views
AutoComplete
This is a migrated thread and some comments may be shown as answers.
Coty
Top achievements
Rank 1
Coty asked on 06 Dec 2015, 04:41 PM

Hey there, I am reviewing the functionality of the AutoComplete and have a question on how the filtering works for the remote datasource.  I want to use it to pull a list of contacts.  Kendo Example: http://demos.telerik.com/kendo-ui/autocomplete/serverfiltering

However I don't understand how the remote datasource connection works.  All of the examples point to a service that pull a list but I don't see where they send the search filter criteria to the server?

For example I would expect the service call to be something like: \Controller\Action\myFilterString   (Or sending data in the body of an ajax call)

So that leads me to believe that the autocomplete pulls the entire list, and then does all filtering client side.  Which is probably great in most cases, but when the dataset gets very large does it hurt performance or use too much memory?   Does anyone have any experience with larger datasets?

In my case my User list is currently 3500 records, but I expect that to probably double in about a year.

If anyone wants to share there thoughts on best practices with large datasets, please chime in.  (IE when is a large dataset considered TOO large to pull the entire list?)

Thank You!

1 Answer, 1 is accepted

Sort by
0
Coty
Top achievements
Rank 1
answered on 07 Dec 2015, 02:21 AM

Hey there I actually did figure this out now, didn't realize the autocomplete attached query string values to the URL.  I just grab the querystring value on the server side and do my custom filter.  thanks.

 

Tags
AutoComplete
Asked by
Coty
Top achievements
Rank 1
Answers by
Coty
Top achievements
Rank 1
Share this question
or