In parent page I’m using:
function popitup(url) {
newwindow = window.open("child.aspx", 'name',
'height=700,width=800,scrollbars=yes,
resizable=no ');
if (window.focus) { newwindow.focus() }
return false;
}
Child window has a link:
protected void GridView_SelectedIndexChanged(object sender, EventArgs e)
{
Response.Redirect("Link1.aspx");
}
I’m getting redirected in child window. But I want to open “Link1.aspx” in parent window.
You can accomplish this in the child window with some javascript. Look up the
window.openerproperty. You can redirect the parent using this:window.opener.location.href