Click here to Skip to main content
15,996,564 members
Please Sign up or sign in to vote.
1.00/5 (2 votes)
See more:
Hi,
When I display message box using msgbox ("Show my message") in asp.net webforms, it does show it but in minimized state.
How to display it normally as we get it in winforms?

Thanks
Posted

1 solution

You can't. And you shouldn't try.

Any MessageBox code executed on the server will be displayed on the server, not the client. And incidentally will probably annoy your web hosting administrator.

If you want to show a message to the user on the client then you should use the Javascript Alert instead.
 
Share this answer
 

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