title: How to Open .pdf on a new Tab
body: <p><strong>The Objective:</strong></p>
  
  <p>I have to print a PDF on a new tab after some tasks have finished correctly. </p>
  
  <p>Steps: I want to execute a method that should go to the server, take the PDF and open it on a new Tab, I was trying with these but is not working:</p>
  
  <p><strong>Controller</strong>: Export</p>
  
  <pre><code> public ActionResult PrintPdf()
      {
          Response.AppendHeader("Content-Disposition", "inline; filename= " + MyClassPdfWriter.GetFileName);
          return File(MyClassPdfWriter.GetMemoryStream, "application/pdf");
      }
  </code></pre>
  
  <p><strong>View</strong>: </p>
  
  <pre><code>function TasksSucced(){
        $.get('@Url.Action("PrintPdf", "Export", "new {target = _blank}")');
  }
  </code></pre>