G
Guest
Hello all,
I am new in asp.net developer,I would like to ask a simple question. how to
display a message box in web application using asp.net?
If I just use
Private Sub btnOK_Click(ByVal sender As System.Object, ByVal e As
System.EventArgs) Handles btnOK.Click
MsgBox("please enter the correct user name and password",
MsgBoxStyle.Information, "Failed in login")
End Sub
when it run, it prompt : It is invalid to show a modal dialog or form when
the application is not running in UserInteractive mode. Specify the
ServiceNotification or DefaultDesktopOnly style to display a notification
from a service application.
Anyone can help me to solve this question? Thanks.
Yezanxiong
I am new in asp.net developer,I would like to ask a simple question. how to
display a message box in web application using asp.net?
If I just use
Private Sub btnOK_Click(ByVal sender As System.Object, ByVal e As
System.EventArgs) Handles btnOK.Click
MsgBox("please enter the correct user name and password",
MsgBoxStyle.Information, "Failed in login")
End Sub
when it run, it prompt : It is invalid to show a modal dialog or form when
the application is not running in UserInteractive mode. Specify the
ServiceNotification or DefaultDesktopOnly style to display a notification
from a service application.
Anyone can help me to solve this question? Thanks.
Yezanxiong