title: How to reuse and parameter a Kendo UI grid EditorTemplate (using ASP MVC)?
body: <p>I've created a DropDownList EditorTemplate for grid inline editing <em>successfully</em>. Now I would like to reuse this template in multiple columns (same grid), and/or in different views with different grids. </p>
  
  <p>What I figured out so far is if I omit the 'Name' for the dropdownlist in the template then the template automatically binds to that column what refers to it in the grid (using <code>.EditorTemplateName(...)</code>). However there are other things what should be parameterized (explicit or implicit) firstly the dropdown datasource.</p>
  
  <p>Q: Having many dropdown in one grid, how to parameterize the dropdown datasource to prevent copy and paste the DropDownListTemplate.cshtml zillon times?</p>
  
  <p>Q: Generally how can I parameter this template when using in multiple columns, and multiple views?</p>
  
  <p>The view:</p>
  
  <pre><code>@(Html.Kendo().Grid&lt;Enumeration&gt;()
      .Name("grid")
      .Columns(columns =&gt;
      {
          columns.Bound(e =&gt; e.Locale).Width(200)
              .EditorTemplateName("DropDownListTemplate");
          // columns.Bound(e =&gt; e.OtherColumn).Width(200)
          //    .EditorTemplateName("DropDownListTemplate", ???);
  </code></pre>
  
  <p>...and the template called DropDownListTemplate.cshtml and placed in /Views/Shared/EditorTemplates</p>
  
  <pre><code>@model string
  @(Html.Kendo()
    .DropDownListFor(m =&gt; m)
    .BindTo(ViewBag.LocaleDropDownListDataSource) // &lt;- Having many dropdown in one grid, how to parameterize this, without copy and paste the DropDownListTemplate.cshtml zillon times?
    //.OptionLabel("Select Locale")
    .DataValueField("Locale")
    .DataTextField("Value")
    //.Name("Locale") // Omitting this binds the template automatically to the referring column in the grid. Using a custom .Name, what is not a column name in the grid ruins the working
    )
  </code></pre>