ASP.net Ajax: use code behind function instead of web service

Is it possible to use a web service for ASP.net ajax instead of a call-behind function to get the data?

any example or link is very helpful.

0


source to share


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


This seems to be what you are looking for.



+1


source







All Articles