Alert Message Box in Asp.net

Syedshakeer
Posted by Syedshakeer under ASP.NET category on | Views : 12018
Write the Below code in a Button and click the button you will get a Alert Message Box with a Message as 'Hello World'.

Page.ClientScript.RegisterClientScriptBlock(typeof(Page), "SCRIPT", string.Format("alert('Hello World')"), true);

Comments or Responses

Login to post response