title: ASP.Net MVC 3 Controller Action and Open New Window
body: <p>i have a controller and an action. this action is to save data into database. and now, i want when i submit a button, my controller do an action and open new window.</p>
  
  <pre><code>public ActionResult New(FormCollection collection)
      {
  
         data.Population_Code = collection["Countrys[0].CountryCode"];
         data.Population_Desc = collection["Countrys[0].CountryDesc"];
         data.Population_Grouping = collection["Countrys[0].CountryGroup"];
         data.Population_Type = "CNTRY";
         data.Population_Redudant = "N";
         data.Population_Modified_At = officeCode.User_Office.ToString();
         db.SaveChanges();
  
        //example for new window
        //window.open('/Report/New.aspx')
  
        return RedirectToAction("index");
      }
  </code></pre>
  
  <p>so my controller do an action and open a new window.</p>
  
  <p>anyone can help me ?</p>
  
  <p>thanks</p>