title: I would like the return of an ActionResult displayed on a new page?
body: <p>I would like the return of my ActionResult Displayed on a new page?</p>
  
  <p>This call below is the only call i have not been able to display on a new page?</p>
  
  <p>Can any one show me what to add to get this right, i have used Window.open with buttons but now i have a RedirectToAction.</p>
  
  <p><strong>This is the call i want displayed on a new page/window:</strong></p>
  
  <pre><code>return RedirectToAction("Print", new { id = contractInstance.SalesContractId });
  </code></pre>
  
  <p><strong>I have buttons already doing this with this code:</strong></p>
  
  <pre><code>window.open('Contract/Print/' + $(this).attr('id'));
  </code></pre>
  
  <p><strong>The Print actionResult looks as follows:</strong></p>
  
  <pre><code>public ActionResult Print(int id) // sales contract Id
          {
              ParameterFields paramFields = CreateParameterFields(id); // pass the id of the contract
              // Save the report run details
              Guid reportRunId;
              SaveReportRunDetails(paramFields, out reportRunId);               
  
              try
              {
  
                 &lt;&lt;&lt; Print code &gt;&gt;&gt;
  //Open a new page on this return would also be a good answer :)!!!!!!!
                  return File(arrStream, "application/pdf");
              }
              catch (Exception err)
              {
                  ViewBag.ErrorMessage = err.Message;
                  return RedirectToAction("Edit", new { id = id, error = err.Message }); 
              }
          }
  </code></pre>