Fredrik Normén's Blog - NSQUARED²
Any fool can write code that a computer can understand. Good programmers write code that humans can understand.

Microsoft Most Valuable Professional
     .Net Framework - ASP.Net - Architecture - Development
NOTE: This list of posts will only list the 15 latest posts, to see the rest, select from the Archives located in the menu to the left. The RSS will only list the 10 lastest posts.
Call a WebService from Client-Side script with ASP.net Ajax

Category:  ASP.Net Ajax

I wrote for some month ago how you can call a Web Service from client-side script with ASP.Net Ajax. There is one thing we need to add to make it work under the RC1 of ASP.Net Ajax, it's the System.Web.Script.Services.ScriptServiceAttribute to the class definition of the WebService:

 

[ScriptService]

public class MyWebService : System.Web.Services.WebService

Posted: Friday, January 05, 2007 - 09:20 GMT+1    Print     E-mail    Comments (0)
   fredrik.nsquared2.com - 2007