I am rather new at Web program so I am starting off with some small stuff,
but still having problems. I want to display a message box to the user when
they click a button, but the message box displays on the server and not on
the client.
Can anyone tell me what i am doing wrong?
The command for the message box is:
MessageBox.Show("The anniversary date has been changed for all employees",
"Anniversary Date", MessageBoxButtons.OK, MessageBoxIcon.Information,
MessageBoxDefaultButton.Button1, MessageBoxOptions.DefaultDesktopOnly)

Re: Dialog box displays on server by McKirahan

McKirahan
Thu Nov 04 13:12:04 CST 2004

"Kevin" <Kevin@discussions.microsoft.com> wrote in message
news:CBC7766E-21F6-4ED0-9333-A835F9BD57E1@microsoft.com...
> I am rather new at Web program so I am starting off with some small stuff,
> but still having problems. I want to display a message box to the user
when
> they click a button, but the message box displays on the server and not on
> the client.
> Can anyone tell me what i am doing wrong?
> The command for the message box is:
> MessageBox.Show("The anniversary date has been changed for all employees",
> "Anniversary Date", MessageBoxButtons.OK, MessageBoxIcon.Information,
> MessageBoxDefaultButton.Button1, MessageBoxOptions.DefaultDesktopOnly)

Will this do instead?

<input type="button" value="Click Me"
onclick="alert('The anniversary date has been changed for all employees')">



Re: Dialog box displays on server by Ray

Ray
Thu Nov 04 14:37:44 CST 2004

Please do not multipost. Asked and answered in another group.

Ray at work

"Kevin" <Kevin@discussions.microsoft.com> wrote in message
news:CBC7766E-21F6-4ED0-9333-A835F9BD57E1@microsoft.com...
>I am rather new at Web program so I am starting off with some small stuff,
> but still having problems. I want to display a message box to the user
> when
> they click a button, but the message box displays on the server and not on
> the client.
> Can anyone tell me what i am doing wrong?
> The command for the message box is:
> MessageBox.Show("The anniversary date has been changed for all employees",
> "Anniversary Date", MessageBoxButtons.OK, MessageBoxIcon.Information,
> MessageBoxDefaultButton.Button1, MessageBoxOptions.DefaultDesktopOnly)