title: Kendoui DropDownList on grid with Ajax and paramter (ASP.NET MVC)
body: <p>I have a KendoUI grid that uses a DropDown List.  So each element of the grid has a dropdown list.  The DropDownList is defined in a partial view.</p>
  
  <pre><code>@(Html.Kendo().DropDownList()
      .Name("positions")
      .DataValueField("EmpId")
      .DataTextField("EmpName")
      .DataSource(source =&gt;
      {
          source.Read(read =&gt;
          {
              read.Action("_AjaxGetEmps", "Emp", new { Empid = &lt;empid of currently selected grid row&gt; });
          }).ServerFiltering(true);
      })
  )
  </code></pre>
  
  <p>What do I put where  is?  What I'm trying to do is reference a field from the grid of the currently selected row.  Each row of the grid can have different values in the drop down and I need to pass the value into the AjaxGetEmps method.  I'm using ASP.NET MVC with the Razor view engine.</p>