string v1 = "nitin"; string javaScript = "window.open('Default2.aspx?p1='" + v1 +",'','width=400, height=400, left=300, top=400');"; ScriptManager.RegisterStartupScript(this, this.GetType(), "hi", javaScript.ToString(), true);
string v1 = "nitin"; string javaScript = "window.open('Default2.aspx?p1=" & v1 & "','newwindow','width=400, height=400, left=300, top=400');return false;"; ScriptManager.RegisterStartupScript(this, this.GetType(), "hi", javaScript, true);
string v1 = "nitin"; string jscript = "window.open('Default2.aspx?p1=" + v1 + "','','width=400, height=400, left=300, top=400');"; ScriptManager.RegisterStartupScript(this, this.GetType(), "hi", jscript.ToString(), true);
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)