hdnMakerName.Value = e.Item.Cells[5].Text.ToString(); Session["Expn_ID"] = e.Item.Cells[0].Text.Trim(); lnkCreateExpn.Attributes.Add("onclick","return ConfirmRedirect('" + TempString + "');"); if(true) { Response.Write("<script language=javascript type=text/javascript>window.opener.location.href='CreateException.aspx';self.close();</script>"); //Response.Redirect("CreateException.aspx",false); } else { //return false; }
Microsoft JScript runtime error: 'window.opener.location' is null or not an object
Quote:If the current window has no opener, this method returns NULL. Windows Phone browser does not support window.opener. It is also not supported in IE if the opener is in a different security zone.
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)