How we can write code to generate message boxes in ASP.NET

Showing Answers 1 - 7 of 7 Answers

A Luthra

  • Aug 10th, 2006
 

public void ShowMessageBox()
{
msgbox.Show("Are you sure?","if you remove [face care]...", "Yes,No","ImageInformation.ico", MessageBoxTheme.DefaultAlone);
}

  Was this answer useful?  Yes

Rams

  • Aug 10th, 2006
 

dim a as stringa=response.write(a)

  Was this answer useful?  Yes

Rams

  • Aug 10th, 2006
 

dim a as stringa=response.write(a)

  Was this answer useful?  Yes

Ramas

  • Aug 16th, 2006
 

dim msgmsg=page.registerstartupscript("c",msg)

  Was this answer useful?  Yes

Amar

  • Aug 16th, 2006
 

Page.RegisterStartupScript("","<script language='javascript'>alert('Hello');</script>");

  Was this answer useful?  Yes

Sunil Ojha

  • Aug 31st, 2006
 

First Create the object of the Message box in the top of the .Suppose u create the object named MsgBox1// C# codepublic void ShowMessagebox(){ MsgBox1.alert("hi this is sunil");}

  Was this answer useful?  Yes

balaji

  • Oct 9th, 2006
 

Hai,

Response.write("<script>alert('Hai');</script>");

  Was this answer useful?  Yes

Give your answer:

If you think the above answer is not correct, Please select a reason and add your answer below.

 

Related Answered Questions

 

Related Open Questions