title: data-ajax-update and data-ajax-mode="replace" not working in dotnet core jquery unobtrusive ajax
body: <p>I have an anchor which should replace a grid with a partial view .</p>
  
  <pre><code>&lt;a class="btn btn-primary" 
                          data-ajax="true" 
                          data-ajax-method="GET"
                          data-ajax-mode="replace"
                          data-ajax-update="content"
                          data-ajax-url="@Url.Action("add","user")"&gt; Create User &lt;/a&gt;
   &lt;div class="row table-area"&gt;
      &lt;div class="col-md-12" id="content"&gt;
          @Html.AjaxGrid(Url.Action("results", "user"))
      &lt;/div&gt;
  &lt;/div&gt;
  </code></pre>
  
  <p>I see it calls the user action with partial view but it never updates the section with <code>id="content"</code>.</p>
  
  <p>Here is my controller method - </p>
  
  <pre><code>    [Route("add")]
      public IActionResult AddUser()
      {
          return PartialView("Partials/AddUser",new RegisterViewModel());
      }
  </code></pre>
  
  <p>Ideally it should replace the grid content with the partial view altogether but it is not replacing . The response status is 200 and I can see that the contents are being returned in response . Anybody has any idea what is the issue here ? </p>