function callpopup() { var popUrl = "frmPopUp.aspx"; var name = "popUp"; var appearence="dependent=yes,menubar=no,resizable=no,status=no,toolbar=no,titlebar=no,left=5,top=280,width=230px,height=140px"; var openWindow = window.open(popUrl,name,appearence); openWindow.focus();//Error:Microsoft JScript runtime error: 'null' is null or not an object }
protected void btnPopUp_Click(object sender, EventArgs e) { ClientScript.RegisterStartupScript(GetType(), "Javascript","javascript:callpopup();", true); }
var popUrl = "www.domainname.com/frmPopUp.aspx"
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)