Javascript alert from ASP.net code behin

Javascript alert from ASP.net code behin
you can display javascript alert from code behind
C# code:
public string Javascript_Alerts(string msg)
{
string popupScript;
popupScript = " <script language='javascript' >" + "alert('"+msg+"') </script >"; return popupScript;
}

Example for use Response.write(Javascript_Alerts("your msg");

Comments

Popular posts from this blog

Very fast test data generation using exponential INSERT

Basic concept and fundamentals of ASP.NET MVC (Model View Controller) Architecture

What's New in ASP.NET and Web Development