ASP.NET C# Popup MessageBox
Posted on Tuesday, June 26, 2012
|
1 Comment
public static void ShowAlertMessage(string error)
{
Page page = HttpContext.Current.Handler as Page;
if (page != null)
{
error = error.Replace("'", "\'");
ScriptManager.RegisterStartupScript(page, page.GetType(), "err_msg", "alert('" + error + "');", true);
}
}
The Kettic Message Box Control is able to show text, buttons, and symbols that inform and instruct the user as well as system icon, status, and error information.
ReplyDelete