Re: How to have a error create a pop-up?

From: REB (russ_at_bjorgaard.com)
Date: 02/05/04


Date: Thu, 5 Feb 2004 16:38:58 -0600

Does something like this work?

Response.Write("<SCRIPT LANGUAGE='JavaScript1.2'> alert('Error!')
</Script>");

Are there any drawbacks to using it this way?

"REB" <russ@bjorgaard.com> wrote in message
news:uR$tuMB7DHA.2496@TK2MSFTNGP09.phx.gbl...
> What is the code in C# to have a pop-up when a function throws an error?
>
> catch(Exception ex)
> {
> Show pop up with text from ex in it?
> }
>
>