ventana heredada del master page
Código:
ventana popup que no hereda del master page// GridViewRow Fila = GridView1.Rows[int.Parse(ViewState["Codigo"].ToString)]; ClientScript.RegisterClientScriptBlock(this.GetType(), "Abrir()", "<script language=javascript> window.open('WfrmPersonMan.aspx?ID2=" + GridView1.SelectedRow.Cells[1].Text + "&Tip=1&Op=2&ID=" + Session["HcPacientID"].ToString() + "','WfrmPersonMan','width=350,height=530,menubar=no,scrollbars=no,toolbar=no,location=no,directories=no,resizable=no,top=100,left=300'); </script>");
Código:
ClientScript.RegisterClientScriptBlock(this.GetType(), "Cerrar()", "<script language=javascript> opener.refresh(); window.close(); </script>");