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.
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,
Ask a Question
Want to reply to this thread or ask your own question?
You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.