AutoComplete using AutoCompleteExtender, JQuery and C# Web service

I implemented autocomplete functionality on one of my client website.

Requirement: if user types in a location name incorrectly then the site is supposed to show a page which holds suggested names in radio button. The user selects one of the location and then clicks search, which will show a Search result page with properties relating to the location.

The solution I offered was to use an auto suggest functionality which shows a list of suggested locations as and when the user types in the location textbox. This was agreed quickly since the time quoted was far less than the suggested requirement implementation and the UI would look 'very cool'...


The solutions uses
- AutoComplete Extender control (which is part of the Ajax Control Tool kit v3.5).
- JQuery - perform ajax query to retrieve data.
- Webservices written in C# to query the db and return results as JSON objects.

I will publish the code sample.

Comments

Popular posts from this blog

Drupal - How to display webform node in a block?

Error when Installing SQL Server 2008 R2 Management Studio

Technical Team Lead Interview Questions