M
Miguel Gómez
Hi guys:
Please take a look to the following code:
try
{...}
catch (Exception ex)
{
Response.Write("<script languaje=javascript>alert ('" + ex.Message.ToString() + "')</script>");
this.ExitPage();
}
The code's behaviour is that the "ExitPage()" procedure is executed, but the alert message does not show.
If I comment the call to the "ExitPage()" procedure , then the alert message is shown pretty well.
try
{...}
catch (Exception ex)
{
Response.Write("<script languaje=javascript>alert ('" + ex.Message.ToString() + "')</script>");
//this.SalirDelaPagina();
}
What I need is that the alert message shows, and then the "ExitPage()" procedure executes in order to exit the page correctly.
Any suggestion, please??
I'm becoming crazy.
Thanks to all.
Miguel
Please take a look to the following code:
try
{...}
catch (Exception ex)
{
Response.Write("<script languaje=javascript>alert ('" + ex.Message.ToString() + "')</script>");
this.ExitPage();
}
The code's behaviour is that the "ExitPage()" procedure is executed, but the alert message does not show.
If I comment the call to the "ExitPage()" procedure , then the alert message is shown pretty well.
try
{...}
catch (Exception ex)
{
Response.Write("<script languaje=javascript>alert ('" + ex.Message.ToString() + "')</script>");
//this.SalirDelaPagina();
}
What I need is that the alert message shows, and then the "ExitPage()" procedure executes in order to exit the page correctly.
Any suggestion, please??
I'm becoming crazy.
Thanks to all.
Miguel