title: Kendo UI - Pass parameter to JS function within read().data()
body: <p>I need to pass various parameters back to my controller method, which I am able to do in the following ways:</p>
  
  <p>Parameters From Model:</p>
  
  <p><code>.Read(read =&gt; read.Action("CPos_Read", "Reporting", new { LocCode = "#=LocCode#" }))</code></p>
  
  <p>Parameters From Javascript Method:</p>
  
  <pre><code>.Read(read =&gt; read.Action("CPos_Read", "Reporting").Data("GetFilters"))
  
  function GetFilters() {
  
      var ParamList = [];
      var Param = ":";
  
      Param = "DateStart:";
      Param += $('#DateStart').val();
      ParamList.push(Param);
  
      Param = "DateEnd:";
      Param += $('#DateEnd').val();
      ParamList.push(Param);
  
      return { Params: ParamList }
  }
  </code></pre>
  
  <p>I have a requirement to pass both the LocCode parameter from my kendo grid model, and the additional parameters from the Javascript function. In other words, I need to be able to combine both of these to pass back to my controller.</p>
  
  <p>Ideally, I would like to be able to pass the LocCode parameter to my Javascript method. </p>