title: Check If the user click save or cancel button when downloading file in ASP.NET MVC
body: <p>I already have the functionality to download the file.</p>
  
  <pre><code>    public ActionResult Download(Guid AuthKey)
      {
  
          FileContentResult file = new FileContentResult(dataSet.Document, "Application/pdf");
          Response.ContentType = file.ContentType;
          Response.AppendHeader("Content-Disposition", "attachment; filename=" + dataSet.DocumentName + ".pdf");
          return file;
      }
  </code></pre>
  
  <p>How can i check if the user click the save button or cancel button on the download dialog box?</p>