|
|
|
Forum Newbie
      
Group: Forum Members
Last Login: 7/23/2007 4:59:41 AM
Posts: 1,
Visits: 6
|
|
Hello,
I am trying to display a basic message box containing two lines of instructions. If a user needs some help on a page, they click the button marked 'Instructions' and a message box pops up and tells them what to do.
It works fine on the local server on my machine when I debug, but returns my customised error page when I upload it.
Any ideas?
The code I'm using is in a master page and is:
Protected Sub Button1_Click(ByVal sender As Object, ByVal e As System.EventArgs)
MsgBox("Read the information below, using the next and previous buttons, to compare your business practices with the FEC's recommendations. Create your Action Points in the table provided", MsgBoxStyle.MsgBoxSetForeground, "Instructions")
End Sub
I'm sure that it is something obvious, but I'd appreciate any help or suggestions
Thanks.
|
|
|
|
|
Junior Member
      
Group: Forum Members
Last Login: 12/27/2007 4:20:11 PM
Posts: 22,
Visits: 26
|
|
are you aware this is ASP.NET ?
You cannot have Message boxes on that way, you can have alert('some message'); but not "MsgBox" which is used in windows environment.
|
|
|
|