message boxes

  • Thread starter Thread starter Mike P
  • Start date Start date
M

Mike P

Is it possible to bring up a message box or a new window from within an
ASP.NET C# script?


Any help would be really appreciated.


Cheers,

Mike
 
Mike,

ASP.NET code is not script, it is actual compiled code that runs on the
server. Because it runs on the server, you can not pop up a message box
using the regular call to MessageBox. Instead, you will have to inject the
script code into the response that will make a call to the alert method on
the window object that is exposed to Javascript.

Hope this helps.
 
Hi,

You will have to use client side scripting for that, if you give a more
precise description I will give you the solution for the problem at hand.

Cheers,
 
Back
Top