Hi, I am trying to do a Messagebox.show on my asp.net page load event, and I can't see the messagebox object in IntelliSense.
How come?
Hi, I am trying to do a Messagebox.show on my asp.net page load event, and I can't see the messagebox object in IntelliSense.
How come?
MessageBox is meant for desktop applications, not web applications. See this article for creating popups for web applications.
MessageBox is meant for WinForms model. You can use this instead: A Simple ASP.NET Server Control: Message Box & Confirmation Box. If you've implemented it you can do calls like this:
msgBox.alert("Hello world!");