title: Client Template not defined error when contained in ClientDetailTemplate
body: <p>I'm using a Kendo Grid that will contain a ClientDetailTemplate which contains another Grid.  The inner (child) grid contains a column that uses a ClientTemplate. </p>
  
  <p>The ClientTemplate contains a Kendo DropDownList. </p>
  
  <p>The problem is that the ClientTemplate (the dropdown list) is not being recognized - I get a "not defined" error, so the detail area fails to display. </p>
  
  <p>However, if I pull the inner grid out from the parent grid's detail area and place the child grid into it's own div (separate from the parent grid), then it works perfectly. So there's some problem about having a grid with a column client template contained within a parent grid's client detail template that causes it to fail. </p>
  
  <p>Here is what the parent grid looks like: </p>
  
  <pre><code>&lt;div class="row"&gt;
  @(Html.Kendo().Grid&lt;Rep.Models.BuildingViewModel&gt;()
  
                    .Name("BuildingValidationGrid")
                    .Columns(columns =&gt;
                    {
                        columns.Bound(b =&gt; b.BuildingName);
                        columns.Bound(b =&gt; b.Region);
                        columns.Bound(b =&gt; b.City);
                        columns.Bound(b =&gt; b.Country);
                        columns.Bound(b =&gt; b.BuildingStatus);
                        columns.Bound(b =&gt; b.DateLastUploaded).Format("{0:dd-MMM-yyyy}");
                    })
                    .HtmlAttributes(new { style = "height: 500px;" })
                    .Sortable()
                    .Scrollable()
                    .Groupable()
                    .ColumnMenu()
                    .Selectable()
                    .Resizable(resize =&gt; resize.Columns(true))
                    .ClientDetailTemplateId("plan_client_template")
                    .Pageable(pageable =&gt; pageable
                        .Refresh(true)
                        .PageSizes(true)
                        .ButtonCount(5))
                      .Filterable(filterable =&gt; filterable
                          .Extra(false)
                          .Operators(operators =&gt; operators
                              .ForString(str =&gt; str.Clear()
                                  .StartsWith("Starts with")
                                  .IsEqualTo("Is equal to")
                                  .IsNotEqualTo("Is not equal to")
                              ))
                          )
                    .Events(events =&gt; events.Change("onChange"))
                    .DataSource(datasource =&gt; datasource
                        .Ajax()
                            .Read(read =&gt; read.Action("BuildingsForValidation_Read", "Plan"))
                        .PageSize(100)
                        .ServerOperation(true)
  
                    )
  )
  </code></pre>
  
  <p></p>
  
  <p>Note the client detail template, "plan_client_template". </p>
  
  <p>The plan_client_template is declared as so: </p>
  
  <pre><code>&lt;script id="plan_client_template" type="text/kendo-tmpl"&gt;
  
  @(Html.Kendo().Grid&lt;Rep.Models.BuildingChangeValidationViewModel&gt;()
        .Name("CVGrid")
        .Scrollable()
        .Selectable()
        .Editable(editable =&gt; editable.Mode(GridEditMode.InLine))
        .Columns(columns =&gt;
        {
            columns.Bound(b =&gt; b.Field);
            columns.Bound(b =&gt; b.OldValue);
            columns.Bound(b =&gt; b.NewValue);
            columns.Bound(b =&gt; b.DateImported).Format("{0:dd-MMM-yyyy}");
            columns.Bound(b =&gt; b.BuildingChangeValidationStatusType).ClientTemplate("#=BuildingChangeValidationStatusType.Value#").Width(250);
            columns.Command(command =&gt; command.Custom("Update").Click("updateValidation"));
            columns.Command(command =&gt; { command.Edit(); }).Width(172);
        })
        .DataSource(dataSource =&gt; dataSource
            .Ajax()
              .Model(model =&gt;
              {
                  model.Id(b =&gt; b.BuildingId);
                  model.Field(b =&gt; b.BuildingChangeValidationStatusType).DefaultValue(
                      ViewData["defaultBuildingChangeValidationStatuses"] as Rep.Common.LookupItem);
              })
            .PageSize(5)
          .Read(read =&gt; read.Action("BuildingValidations_Read", "Plan", new { buildingId = 0 }))
          .Update(update =&gt; update.Action("BuildingValidations_Update", "Plan"))
  
        )
        .ToClientTemplate()
  )
  </code></pre>
  
  <p></p>
  
  <p>Please note the column containing the ClientTemplate, "BuildingChangeValidationStatusType". </p>
  
  <p>The BuildingChangeValidationStatusType client template is defined as: </p>
  
  <pre><code>@(Html.Kendo().DropDownList()
  .Name("BuildingChangeValidationStatusType") // Name of the widget should be the same as the name of the property
  .DataValueField("Id") 
  .DataTextField("Value")
      .DataSource(
          source =&gt; source.Read(read =&gt;
                  read.Action("BuildingValidationLookups_Read", "Plan").Data("getBuildingId")
           )
           .ServerFiltering(true)
      )
      .SelectedIndex(0))
  </code></pre>
  
  <p>Again, the interesting thing is that it works if I make the grid name, "CVGrid" from the client detail area of the parent grid and into it's own div.  </p>
  
  <p>Any ideas of what's going on and why the client template column is not seen? </p>
  
  <p>TIA! </p>