Set .pdf name but prevent download with Rotativa
<p>I need to set .pdf name before displaying it. I tried to set it like this</p>

<pre><code>return new ViewAsPdf(GetViewName(), "", reportVM) 
{ 
   PageSize = Size.Letter, FileName = GetViewName() + "-" + DateTime.Now.ToShortDateString() + ".pdf"
 }; ,
</code></pre>

<p>but in this way the .pdf will be automatically downloaded. Is it possible to set the .pdf name and not downloading it?</p>

<p>Thanks!</p>