Click here to Skip to main content
15,908,909 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hello, I want to deploy my web application and in some pages it has code that has to display messages using message boxes. I want to know if it will be a problem when I deploy my web application if it contains messages to be displayed using message boxes.
Posted
Updated 4-Oct-11 13:23pm
v2

1 solution

Yeah that's a big problem you code wont run at all in release mode, it will cast an exception.
Try to think about it..
A user makes a request
your code runs
you display a message box
.. not nothing happens until someone on the server takes action on the message box.

see this post[^] to see how you can display a messagebox in the client side, after the request has been processed and a response has been sent by the server
 
Share this answer
 
Comments
P.C Shabangu 4-Oct-11 20:29pm    
ok I understand.but will it be also a big problem if I use javascript code to display my message box?
Simon Bang Terkildsen 4-Oct-11 20:37pm    
No using JavaScript isn't a problem.
P.C Shabangu 4-Oct-11 22:48pm    
ok.thank you.
Espen Harlinn 5-Oct-11 18:18pm    
my 5
Simon Bang Terkildsen 6-Oct-11 12:04pm    
Thank you for the vote

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900