Pop Up from ASP.NET using javascript

Pavanandey
Posted by Pavanandey under ASP.NET AJAX category on | Points: 40 | Views : 1464
string strScript = "<script> ";
strScript += "var newWindow = window.showModalDialog('display.aspx', '','dialogHeight: 500px; dialogWidth: 900px; edge: Raised; center: Yes; resizable: Yes; status: Yes;');";
strScript += "</script>";
ScriptManager.RegisterStartupScript(this, this.GetType(), "PopupCP", strScript, false);

Comments or Responses

Login to post response