title: Passing parameter to Controller Action from Kendo Window refresh in javascript
body: <p>I have got a simple question: with a Kendo window, I can refresh it like this:</p>
  
  <pre><code>window.refresh({
      url: '@Url.Action("_EditScheduleInspectionForm", "TLM")',
  </code></pre>
  
  <p>I want to pass a parameter to that Controller Action. I tried the following and it works:</p>
  
  <pre><code>window.refresh({
      url: '@Url.Action("_EditScheduleInspectionForm", "TLM", new { test = "test"})',
  </code></pre>
  
  <p><strong>Controller</strong></p>
  
  <pre><code>public PartialViewResult _EditScheduleInspectionForm(string test)
  </code></pre>
  
  <p>The <code>test</code> variable comes filled with the passed string "test". But I don't want to hardcode the string, I want to pass a javascript variable there, like:</p>
  
  <pre><code>var test = "something";
  window.refresh({
      url: '@Url.Action("_EditScheduleInspectionForm", "TLM", new { test = test})',
  </code></pre>
  
  <p>But the above doesn't work, the variable isn't recognized. How can I achieve this?</p>