I have a WebMethod static function that gets called from autocomplete textbox.
There is something in my project that prevents the page method from returning JSON. I've checked the code, it works if I open new clean project.
The project is .NET 3.5, the control is not within update panel.
Full function writeup is in this question
] if someone needs to check it.
I need ideas and hints. Anyone had similar problem before? I've lost three days already and I don't know where to look anymore.
writing directly into the Response via Response.Write and NewtonSoft JsonConvert
returning from [webmethod][scriptMethod] with output param type JSON
returning simple string and string array and list of string
commenting out sections of web config
ajaxToolkit Autocomplete Extender
jQuery UI autocomplete variations
moving the function call into the page without HTML (but of course ajaxToolkit gets it cluttered with various scripts :( )