{ Session["PostedStatus"] = "Record Posted Successfully !!!"; ClientScript.RegisterStartupScript(GetType(), null, "window.open('PdfReport.aspx');", true); } Response.Redirect("MainMenu.aspx");
{ Session["PostedStatus"] = "Record Posted Successfully !!!"; ClientScript.RegisterStartupScript(GetType(), null, "window.open('PdfReport.aspx');", true); } Response.Redirect("MainMenu.aspx"); // this line will redirect to the next page ,so the javascript wont execute...
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)