Well, you can't do it directly. ASP runs on the server - so any pop-up dialog boxes would appear there, not quite what you want.
There are at least two ways:
1. Store the message in the HTML sent back to the user, and cause a Javascript function to display it when the browser loads the page.
2. Use a <DIV> or <LAYER> tag (or Java) to do the Update WITHOUT a server round-trip for the main page - i.e. the update is performed via the DIV or LAYER or JavaApplet code. Check out the PageObjectDTC, and its 'execute' methods that do just this via a Java Applet.
For option 1:
Try creating a hidden message field, or dynamically creating a (client side) javascript section containing a variable - in each case the field/variable to contain the text of the message to pop-up.
Then write a JavaScript function that runs for the pages onstart event (or just add an if .. alert method to the bottom of the page, not in a function) that will display the message when the page opens up.
For example:
<PAGE onstart="checkMessage();">
<SCRIPT LANGUAGE="JavaScript">
function checkMessage()
{
if (document.thisForm.sMsg.length > 0)
alert (document.thisForm.sMsg);
}
</SCRIPT>
<FORM NAME="thisForm">
<INPUT TYPE="hidden" NAME="sMsg" VALUE="A Message">
... and the rest of the form...
</FORM>
(or something like that!)
(Content Management)