Page_Load(...)
{
if(Request[“Strange“]!=null)
{
msg1 = msg1 & "<Script Language='JavaScript'>"
msg1 = msg1 & "window.open('popup.aspx','map')"
msg1 = msg1 & "</script>"
msg = msg & "<Script Language='JavaScript'>"
msg = msg & "window.opener.location.href=window.opener.location.href;"
// msg = msg & "window.close();"
msg = msg & "</Script>"
Response.Write(msg)
}
}
Button_Click()
{
Response.Redirect("/Webapplication1/AssignPaperToReviewer.aspx?PaperID="+Session["PaperID"]+"&Strange=987");
}
http://www.dotnetspider.com/Technology/KB/ShowSample.aspx?SampleId=192