Tuesday, 21 June 2016

Display Error Message using Script Manager:

Step 1 : Add the code in your c# page.

 ScriptManager.RegisterClientScriptBlock(this, this.GetType(), "alertmessage", "alert('Your alert message')", true);


Step 2: Output.

No comments:

Post a Comment

How to create a simple Hello World website in ASP.NET MVC using Razor Syntax: (Note: I am using Visual Studio 2012 ) Step 1: ...