I have Jquery autocomplete working with a HttpHandler – .ashx file. It works fine, I am wondering is there an easy way to use the autocomplete with a [WebMethod] right in the code behind – and are there any advantages to this?
I have Jquery autocomplete working with a HttpHandler – .ashx file. It works fine,
Share
Both implementations of HttpHandler and Web-Services perform identically,
however I prefer HttpHandler as it is lightweight,
on the other side a web-service encodes request & response xml data which adds extra payload.
POP JqueryUI Autocomplete with web-methods:
http://blog.nitinsawant.com/2011/09/integrating-jquery-ui-autocomplete-in.html
JS:
C#: