jQuery Autocomplete and ASP.NET
I just recently implemented autocomplete, and it looks fairly similar. I’m using an ashx (Generic Handler) instead of the aspx, but it’s basically the same code in the code behind. Using the ashx, it’ll look something like this: <script type=”text/javascript”> $(document).ready(function(){ $(“#txtSearch”).autocomplete(‘autocompletetagdata.ashx’); }); </script> [WebService(Namespace = “http://www.yoursite.com/”)] [WebServiceBinding(ConformsTo = WsiProfiles.BasicProfile1_1)] public class AutocompleteTagData : IHttpHandler … Read more