ClientScript.RegisterStartupScript(this.Page.GetType(), "", "window.open('Print.aspx','Print','scrollbars=yes,height=400,width=900');", true);
i have the above line executed on a button click but the page does not seem to appear
Works fine for me
protected void Button1_Click1(object sender, EventArgs e) { ClientScript.RegisterStartupScript(this.Page.GetType(), "", "window.open('Print.aspx','Print','scrollbars=yes,height=400,width=900');", true); }
© COPYRIGHT 2025 ASPSnippets.com ALL RIGHTS RESERVED.