title: Unknown web method parameter method name
body: <p>I'm building a Web Application in which I'm trying to call a WebMethod in a WebForm, I've tried every single page in google but I'm still getting nothing. This is an example of the Jquery Ajax Call</p>
  
  <pre><code>$.ajax({
              type: "Post",
              url: "Default.aspx/Return",
              data: {dato:'Hello'},
              contentType: "application/json; chartset:utf-8",
              dataType: "json",
              success:
                      function (result) {
                          if (result.d) {
                              alert(result.d);
                          }
                      },
              error:
                  function (XmlHttpError, error, description) {
                      $("#grdEmpleados").html(XmlHttpError.responseText);
                  },
              async: true
          });
  </code></pre>
  
  <p>And this is the WebMethod in the codebehind</p>
  
  <pre><code>[WebMethod]
      [ScriptMethod(ResponseFormat=ResponseFormat.Json)]
      public static string Return(string dato)
      {
          return dato;
      }
  </code></pre>