Roman,
Maybe this can help you as well?
Private Sub Page_Load(ByVal sender As _
System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
If Not IsPostBack Then
Dim str As String = "<script language " & _
"=javascript>alert('Click on the button?');</script>"
Page.RegisterStartupScript("Startup", str)
End If
Me.Button1.Attributes("onClick") = _
"alert('I hope this helps a little bit?')"
End Sub
///
Cor
"rr****@800mcmahan.com" <rr*****************@discussions.microsoft.com>
I've tried the good old fashioned msgBox but I get:
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.