ASP.net Ajax: use code behind function instead of web service
2 answers
According to the ASP.NET AJAX documentation (at least for the AutoComplete TextBox control), if you do not provide a ServicePath property for the control to access, then the method to be called (specified in the ServiceMethod property) must be a page mode.
I read this to say that you can simply create a method in your code behind the file that matches the correct signature that AutoComplete expects and everything should be set.
+1
source to share