Using Web Services with ASP.NET AJAX Updated

Posted Tuesday, February 20, 2007 3:10 PM by C-Dog's .NET Tip of the Day

Well you most likely know by now that the release version of ASP.NET AJAX is now available. In the past, I posted about how to make a web service work for use with AutoCompleteExtenders, etc. That post was incorrect and has since changed any way, so I thought I would post an update.

To use a web service from Atlas, you need to use the ScriptService attribute on your class. This attribute is in the System.Web.Script.Services namespace. In your code it would like the following.

[System.Web.Script.Services.ScriptService]

Read the complete post at http://www.dotnettipoftheday.com/blog.aspx?id=338