Posted on: 7/24/2015 2:09:15 PM | Views : 787

good day guys and girls, i have a print button on a page that should print another page without redirecting to that other page. all i hv tried hvn't worked. this is the latest of them
protected void admLetter_Click(object sender, EventArgs e) { string ses = DateTime.Now.Year.ToString(); int sess = Convert.ToInt32(ses); int sesss = ++sess; string session = (ses + "/" + sesss).ToString();
Session["name"] = name.Text; Session["course"] = course.Text; Session["depart"] = dept.Text; Session["session"] = session; ClientScript.RegisterStartupScript(this.GetType(), "PrintOperation", "window.print(admLetter.aspx)", true); }
i want to print the page "admLetter.aspx" from the page that holds the button to the event above without redirecting to "admLetter.aspx" thats y i used it as parameter in the javascript w ...

Go to the complete details ...