The ways to put boxes on the screen with JScript are alert() and confirm().
When I have a web page that I sometimes want to have put up a 'message box,' I have added a function with a variable that I either do or do not fill, depending on whether I want the 'message box' to be shown or not.
Then I call that function when the page is loaded. I am using VB
6 and IIS, so values are filled in with replaceable tags that start with <WC_name_goes_here
> and end with </WC_name_goes_here
This is what I have (in part):
var start_msg = "<WC_OpeningMsg></WC_OpeningMsg>";
if (start_msg != "") alert(start_msg);
Iâm not sure how, in .NET, you would fill in that variable, start_msg, but if you can do that, then here is one way to present a message box when showing a web page.
If you are trying to do all of this at the client, then you would just have client-side script that uses alert() to show a message.
In an allert() or in a confirm(), \n is a new line, quotes can be inserted with \".
alert("Hello,\nhow are \"you\"?");
how are "you"?