Click here to Skip to main content
16,015,108 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
hi..
am developing website using ASP.net with vb.net(for coding).. i need to show a message box in my site.. i already tried in alert method using java script but it not helping for me.. still having prob.. help me to show message box..

thanks in advance..

regards,

Sasikumar
Posted
Comments
RDBurmon 28-Oct-10 8:39am    
On which scenario you need to display msg box .can u elaborate.

Use the below code

Page.RegisterStartupScript("OnClick", "<script>alert('Hello world');</script>");
 
Share this answer
 
this may help you, check below link
ModalPopup[^]
 
Share this answer
 
When not using a JavaScript alert box a "MessageBox" can be implemented with a simple floating div, such as this http://www.asp.net/ajax/ajaxcontroltoolkit/samples/modalpopup/modalpopup.asp[^]
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900