Can anybody tell me how can I implement something like the Stack Overflow tags autocomplete textbox, with Ajax?
first you will have to create a webservice for retriving words
http://www.csharpcorner.com/UploadFile/raj1979/AutoComplete02142008113654AM/AutoComplete.aspx
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.
G'day,
I'd suggest getting a copy of the excellent book "Pragmatic Ajax" (sanitised Amazon link) which walks you through just such an example.
HTH
I would highly recommend looking at this jquery autocomplete plugin which i have used on several of my web projects with fantastic reviews from the customers.