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

A circular reference was detected while serializing an object of type ‘SubSonic.Schema .DatabaseColumn’.

It seems that there are circular references in your object hierarchy which is not supported by the JSON serializer. Do you need all the columns? You could pick up only the properties you need in the view: return Json(new { PropertyINeed1 = data.PropertyINeed1, PropertyINeed2 = data.PropertyINeed2 }); This will make your JSON object lighter and … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)