title: Rotativa Download with SaveAs dialog
body: <p>I am using Rotativa tool to display pdf. It works fine with the following code:</p>
  
  <pre><code>public ActionResult PreviewDocument()
  {
  
       var htmlContent = Session["html"].ToString();
       var model = new PdfInfo { Content = htmlContent, Name = "PDF Doc" };
       return new ViewAsPdf(model);
  }
  </code></pre>
  
  <p>I wanted to know the way to download the pdf via browser's "save as" dialog on clicking on a button and not to display in some iframe. "new ViewAsPdf(model)" just returns the pdf data. </p>
  
  <p>Thanks in advance.</p>