ASP.Net MVC-3 Controller-Action und Neues Fenster Öffnen

habe ich einen controller und eine action. diese Aktion ist zum speichern von Daten in die Datenbank ein. und jetzt, ich will, wenn ich behaupte, dass eine Schaltfläche, meinen controller, eine Aktion und neues Fenster öffnen.

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");
    }

also meinen controller, eine Aktion und ein neues Fenster öffnen.

jemand kann mir helfen ?

Dank

InformationsquelleAutor ntep vodka | 2011-10-17
Schreibe einen Kommentar