title: Popup form post prevent site from refresh
body: <p>I have a kendo grid with a button in it. When the button is pressed it opens up a popup with a file-select input and a button so that the user can save a image. Im using a normal form with a submit button to post my form to my controller. Everything works fine the right data arrives to the controller but then the page refreshes. I just want the popup to close and the grid and the whole page behind the popup to just stay as it is. Here is my controller:</p>
  
  <pre><code>    [HttpPost]
      public ActionResult SaveData(HttpPostedFileBase file, string id)
      {
          iResourceModel.SaveData(file, file.FileName);
          return null;
      }
  </code></pre>
  
  <p>and my html form:</p>
  
  <pre><code> &lt;div id="details-container"&gt;
   &lt;form action="/Home/SaveData" method="post" enctype="multipart/form-data"&gt;
   &lt;span&gt;Select file:&lt;/span&gt;&lt;input type="file" name="file" id="file"&gt;
   &lt;input type="text" value=' + dataItem.ResourceId +' name="id" id="id" hidden/&gt;
   &lt;button type="submit" id="" &gt;Save file&lt;/button&gt;
   &lt;/form&gt;
   &lt;/div&gt;
  </code></pre>