I am using HTML controls while using Ajax in my .net project. Now I want to make my text box to be autocomplete. I am fetching a data using a query for the respective typed text but i am not sure how to bind that data to text box and show it the way it is being displayed in google and other famous sites. I would also love to know the way using web services. Which way is more efficient?
views:
51answers:
1
+1
A:
Did you try with the jquery autocomplete plugin? Here you hava a nice example of how to integrate it with asp.net mvc. Instead of using a web service to obtain the data, you can use a controller action instead. Regards
uvita
2010-03-04 14:00:49
I absolutely agree on using a controller action for this! There's no need for the complexity of a web service.
Ryan
2010-07-04 23:07:46