Groups | Blog | Home
all groups > asp.net > december 2005 >

asp.net : MSGBOX PROBLEM


Juanjo
12/19/2005 11:51:02 PM
Hi,

I'm testing the Visual Web Express Edition, with ASP.NET 2.0. I use the
msgbox function (In ASP.NET 1.0 does not exists). I have written a lot of
code with msgbox, but when I installed the web site developed in the IIS
Server, I have this error when the msgbox funtion is called

'Showing a modal dialog box or form when the application is not running in
UserInteractive mode is not a valid operation. Specify the
ServiceNotification or DefaultDesktopOnly style to display a notification
from a service application.'

I think that the msgbox is not supported in web applications, but why is
created if not run?

Thanks


Juanjo
12/20/2005 3:33:03 AM
The only solution is to use the javascript alert function. Is it the only way
to solve it?

[quoted text, click to view]
Edwin Knoppert
12/20/2005 11:48:03 AM
Frankly, the error message gives the answer here.
it is valid under certain conditions.



"Juanjo" <Juanjo@discussions.microsoft.com> schreef in bericht
news:0CA53189-351D-4F44-BF32-F3DDAD6791E9@microsoft.com...
[quoted text, click to view]

Edwin Knoppert
12/20/2005 2:42:23 PM
Sure:

http://www.hellobasic.com/cgi-bin/forum/YaBB.pl?board=dotnet;action=display;num=1132742477



"Juanjo" <Juanjo@discussions.microsoft.com> schreef in bericht
news:0399F5A4-CC8C-44B1-BA7A-BD7BE20D8BE8@microsoft.com...
[quoted text, click to view]

AddThis Social Bookmark Button