title: Refresh and action button Html
body: <p>I would like to add a button which enables to do an action and also refresh the current webpage. I don't understand why the following code doesn't work. In fact the action is performed but not the refresh. </p>
  
  <pre><code>&lt;form class="form-search" action="@Url.RouteUrl("xx")" method="post"&gt;
      &lt;button type="submit" class="btn" onClick="window.location.reload();"&gt;&lt;/button&gt;
  &lt;/form&gt;
  </code></pre>
  
  <p>Any advice?</p>