.NET Tutorials, Forums, Interview Questions And Answers
Welcome :Guest
Sign In
Win Surprise Gifts!!!

Home >> Forum >> ASP.Net >> Post New QuestionBookmark and Share Subscribe to Forum

How to write MessageBox in ASP.NET

Posted By: Savi3     Posted Date: September 11, 2008    Points:2   Category :ASP.Net
I need a message mox in web application..
How can i add to my coding..
Please reply..

Hope u all get my quest..

Author: DPK             
Posted Date: September 11, 2008     Points: 5   

use this:
Response.Write("<script language = javascript> alert('hello'); </script>");

Author: Savi3             
Posted Date: September 11, 2008     Points: 5   

Ya Thanks DPK,

Message Box is appeared.. How can we give the title for the MessageBox.

Also in C# we also give the buttons as MessageBoxButtons.YesNo like this how in ASP.NET.

Author: DPK             
Posted Date: September 11, 2008     Points: 5   

see this it may help you "http://www.codeproject.com/KB/scripting/DOMAlert.aspx"

Author: Ruchi             
Posted Date: November 01, 2008     Points: 5   

if you use vb as your language then you can use msgbox dierectly like


whereas in C# use Messagebox.show() method

Author: Savi3             
Posted Date: November 03, 2008     Points: 5   

No am using C#.

Post Reply

You must Sign In To post reply
Find more Forum Questions on C#, ASP.Net, Vb.Net, SQL Server and more Here
Quick Links For Forum Categories:
ASP.NetWindows Application  .NET Framework  C#  VB.Net  ADO.Net  
Sql Server  SharePoint  OOPs  SilverlightIISJQuery

Hall of Fame    Twitter   Terms of Service    Privacy Policy    Contact Us    Archives   Tell A Friend