Showing posts with label autocomplete. Show all posts
Showing posts with label autocomplete. Show all posts

Saturday, March 24, 2012

Workarounds for AutoCompleteProperties

ASP.NET AJAX 1.0 no longer allow AutoCompleteProperties section. I used to have one AutoComplete Extender maps to 3 controls calling the same WebService. What's the new way to do it in this new build apart from creating more AutoComplete Extenders?

Now you must have 3 AutoCompleteExtenders because extenders now maps to their target control directly. All this extenders can use the same web service.

Hope, this helps.

Working in Dev but not on server

Hi

I am writing my first AJAX enabled application, and I am having problems deploying it. I have created a simple autocomplete app in VS 2005 which reads values from a SQL database and returns them as an autocomplete list. This works fine on the development machine, but when I publish the app and copy the files to the server, the AJAX part of the page does not work (non AJAX parts do) I have installed the ASP.NET AJAX from http://asp.net/ajax/ on both the server and the development machine. Following publishing the app to a local drive, the only change I have made is to the SQL connection string. I have stripped the web service down to a "hello world" application to remove the connection string from the equation and this still does not work. I would be very grateful for any ideas.

Thanks

Hi,

Could you please paste the error that you are receiving here?

Thanks


You must have to install the Asp.net Ajax Framework in you server. Also you have to have the AjaxControlToolkit dll in your web application bin directory to make it working.


Turns out it was somehow related to the firewall. Worked fine bypassing the firewall. Passed to sysAdmin to sort out.