Tuesday, March 27, 2012

jQuery Ajax call to .NET web service

Service must be decorated with System.Web.Script.Services.ScriptService attribute. $.ajax client side method may have contentType property set to "application/json; charset=utf-8" and dataType property set to "json." Then iterate through response objects with response.d.

No comments:

Post a Comment