Execute a line of code like this when you want a message box to be
displayed.
(This writes out the necessary client side javascript to your HTML page to
make the alert pop up as soon as the page is sent to their browser.)
RegisterStartupScript("startupScript", "<script
language=JavaScript>alert('This is my message.');</script>");
Here's more info:
http://msdn.microsoft.com/library/de...criptTopic.asp
--
I hope this helps,
Steve C. Orr, MCSD
http://Steve.Orr.net
"Joel Barsotti" <jo**********@hotmail.com> wrote in message
news:%2****************@TK2MSFTNGP10.phx.gbl...
When I was doing asp development, I used the Javascript alert("error
message") method for relaying error messages to my users.
I was wondering if there is anyway to do something similar with ASP.net,
especially if it built in and won't require alot of custom JavaScript.