Windows.Forms.MessageBox in .aspx page

First, sorry for the english. I recently found out that the MessageBox from Windows.Forms can be used in a web page, but there is a problem in showing it, it is not modal. Is there a way to make this modal?

Thanks for any help.

+2


a source to share


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







All Articles