Can anybody tell me how can I implement something like the Stack Overflow tags autocomplete textbox, with Ajax?
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
The easiest and simplest way is using the AutoCompleteExtender in the Ajax Controls Toolkit.
This uses a WebService to feed data to the control and can be linked to an existing TextBox. However you can also make use of a PageMethod to feed the extender.
Alternatively you can roll your own using JavaScript and the ScriptManager, however it can be quite tricky. I have recently tried with JQuery and it is definitely simpler.