Saturday, February 7, 2009

To popup a page using script

public void Popup()
{
string popupScript;
popupScript = "script language='javascript'>";
popupScript += "window.open('examination.aspx','popup','width=1015, height=700,menubar=no,resizable=yes')";
popupScript += " Response.Write(popupScript);
}

No comments: