Windows.Forms.MessageBox in .aspx page
1 answer
I think you are wrong. You can use the Windows Forms message box class from asp.net code and it will not throw an exception, but it will never display the message box on the page in the user's web browser. Instead, it shows a message box on a closed desktop on the server.
There are third party workarounds on the internet to help you create a modal message on an asp.net page if you want (many of them rely on javascript confirm()
and functions alert()
).
+7
a source to share