Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Name 'messagebox' is not declared

Status
Not open for further replies.

Mike555

Technical User
Feb 21, 2003
1,200
0
0
US
When attempting to use Messagebox.Show in my ASP/VB.NET appolication I get the error message "Name 'messagebox' is not declared".

How can I use the MessageBox.Show function? The answer, I'm sure, is probably very simple. Thanks.

--
Mike
 
Depending on when you want to display the message you can build the javascript in the ASP.NET using

Code:
thisbutton.attributes("onclick")= "alert('This is my messagebox');"

 
Thank you all for your help.

--
Mike
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top