My WebService does not work, why?
In order for a Web service to be accessed from script, it must be an .asmx Web service whose Web service class is qualified with the ScriptServiceAttribute attribute. Individual methods to be called from script must be qualified with the WebMethodAttribute attribute. For example, [ScriptService] public class SimpleWebService : System.Web.Services.WebService { [WebMethod] public string EchoInput(String input) { // Method code goes here. } } Add reference to the existing WebService in ScriptManager. Like this,