![Antiguo](http://static.forosdelweb.com/fdwtheme/images/statusicon/post_old.gif)
23/07/2008, 10:24
|
![Avatar de ah_puch](http://static.forosdelweb.com/customavatars/avatar112894_1.gif) | | | Fecha de Ingreso: agosto-2005 Ubicación: Ecatepec, México
Mensajes: 180
Antigüedad: 19 años, 5 meses Puntos: 3 | |
Respuesta: Cerrar ventana desde ASP.NET 2.0 ya intentaste con esto:
Código:
string my_Script;
my_Script= "<script lenguage=JavaScript>";
my_Script+= "window.close();";
my_Script+="<" + "/script>";
if (!this.IsStartupScriptRegistered("AdiosMundoCruel"))
{
this.RegisterStartupScript("AdiosMundoCruel",my_Script);
}
Última edición por ah_puch; 23/07/2008 a las 10:30 |