title: how to use jQuery ajax with asp.net user controls?
body: <p>I want to use ajax with asp.net user control, </p>
  
  <pre><code>    $.ajax({
          type: "POST",
          url: "*TCSection.ascx/InsertTCSection",
          data: "{id:'" + id + "'}",
          contentType: "application/json; charset=utf-8",
          dataType: "json",
          success: function (msg) {
              var URL = msg.d;
              alert(URL);
          });
  </code></pre>
  
  <p>.cs code </p>
  
  <pre><code>[WebMethod]
  public static string InsertTCSection(string id)
  {
      string result = "deneme";
      return result; 
  }
  </code></pre>