TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
C# Corner
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
How to show message box in ASP.Net
Narasimhan Srinivasan
May 19, 2012
53.6
k
0
0
facebook
twitter
linkedIn
Reddit
WhatsApp
Email
Bookmark
How to show message box in ASP.Net
Right click the
solution explorer
and click the
add references
and choose
System.Windows.Forms
Now in your aspx.cs page
System.Windows.Forms.MessageBox.Show("Type any text");
Now run and check you will be getting the messagebox in ASP.Net.
How to show message box in ASP.Net
Next Recommended Reading
Text Box Validation In ASP.NET Using JavaScript