title: Custom command button from grid isn't updating partial view
body: <p>I have created a sample project to illustrate my problem</p>
  
  <p><strong>Index.cshtml :</strong></p>
  
  <pre class="lang-html prettyprint-override"><code>@using Kendo.Mvc.UI
  @model IEnumerable&lt;KendoUIMvcApplication3.Models.Product&gt;
  @{
      ViewBag.Title = "Home Page";
  }
  &lt;script type="text/javascript"&gt;
      function clickView(e) {
          e.preventDefault();
          var dataItem = this.dataItem($(e.currentTarget).closest("tr"));
          $.ajax({
              url: "/Home/ViewDetails",
              data: { productId: dataItem.Id }
          });
      }
  &lt;/script&gt;
  &lt;div&gt;
      @(Html.Kendo().Grid(Model)
            .Name("RoleGrid")
            .Columns(columns =&gt;
                {
                    columns.Bound(p =&gt; p.Id);
                    columns.Bound(p =&gt; p.Name).Width("30%");
                    columns.Bound(p =&gt; p.Description);
                    columns.Command(command =&gt;
                        {
                            command.Edit();
                            command.Destroy();
                            command.Custom("View").Click("clickView");
                        }).Width(250);
                })
            .ToolBar(toolbar =&gt; toolbar.Create().Text("Add"))
            .Sortable()
            .Scrollable()
            .HtmlAttributes(new { style = "height: 350px" })
  &lt;/div&gt;
  
  @{ Html.RenderAction("ViewDetails", "Home", new { productId = 0 });}
  </code></pre>
  
  <p><strong>ViewDetails action in my HomeController :</strong></p>
  
  <pre class="lang-cs prettyprint-override"><code>public ActionResult ViewDetails(int productId)
  {
      Detail model;
      if (productId == 0)
      {
          model = new Detail
              {
                  Price = "zero",
                  Origin = "zero"
              };
      } else {
          model = new Detail
              {
                  Price = productId.ToString(),
                  Origin = productId.ToString()
              };
      }
      return View(model);
  }
  </code></pre>
  
  <p><strong>ViewDetails.cshtml :</strong></p>
  
  <pre><code>@model KendoUIMvcApplication3.Models.Detail
  @{
      ViewBag.Title = "ViewDetails";
      Layout = null;
  }
  
  @Html.DisplayFor(m =&gt; m.Price)
  @Html.DisplayFor(m =&gt; m.Origin)
  </code></pre>
  
  <p>Everything runs fine.</p>
  
  <p>Clicking the custom "View" button fires off the javascript, which makes an ajax call to my <code>ViewDetails</code> action. The <code>productId</code> value is passed correctly, however, the <code>return(model)</code> of my <code>ViewDetails</code> action doesn't update my view page at all.</p>
  
  <p>Should I not be using <code>RenderAction</code> in my index.cshtml?</p>