title: Passing Kendo Grid request from javascript to mvc controller method
body: <p>I'm trying to pass filters of kendogrid to mvc controller, but something is going wrong. I tried the way in this <a href="http://blog.codebeastie.com/kendo-grid-passing-datasourcerequest-from-your-own-javascript/" rel="nofollow noreferrer">link</a>.</p>
  
  <p>This is javascript side:</p>
  
  <pre><code>var grid = $(gridId).data("kendoGrid"),
      remote = '...',
      parameterMap = grid.dataSource.transport.parameterMap,
      requestObj = {
              sort: grid.dataSource.sort(),
              filter: grid.dataSource.filter()
      },
      postData = parameterMap(requestObj),
      success = function(){...};
  
      $.post(remote, postData, success);
  </code></pre>
  
  <p>This is controller side:</p>
  
  <pre><code>[HttpPost]
  public ActionResult GetSumOfInvoiceAmount([DataSourceRequest]DataSourceRequest request){...}
  </code></pre>
  
  <p>Although there is some filter in kendo grid, it seems as no filter in controller method. What is wrong here ?</p>