title: PageMethods returning undefined result?
body: <p>I have a very simple call to a PageMethod. When I step through my PageMethod in my .cs file, the value looks as expected. However, on the client side I get an undefined result. Any ideas? This should be horribly simple.</p>
  
  <p>Here is my js: (<code>EnablePageMethods="true"</code> in my ASPX page)</p>
  
  <pre><code>function test() {
      alert(PageMethods.MyMethod("Joe Blow"));
  }
  </code></pre>
  
  <p>And here is my C#:</p>
  
  <pre><code>public partial class test : System.Web.UI.Page 
  {
      [WebMethod]
      public static string MyMethod(string name)
      {
          return "Hello " + name;
      }
  }
  </code></pre>