title: Calling multiple Directmethod in a function
body: <p>I am building a web application using Ext.Net. I run into a problem today that I suddenly cannot call multiple server-side .NET Methods (DirectMethod) in a function.</p>
  
  <p>For instance:</p>
  
  <pre><code>&lt;script&gt;
          function test1() {
              App.direct.Method1({ failure: function (msg) { Ext.Msg.alert('Failure', msg); } });
              App.direct.Method2({ failure: function (msg) { Ext.Msg.alert('Failure', msg); } });
          }        
  &lt;/script&gt;
  </code></pre>
  
  <p>This will only call Method2 but not both of them. Can someone help me, please? Many thanks.</p>