Response.Write("<script>alert('Javascript alert message
box');</script>");
Response.AddHeader("REFRESH", "3; ./default.aspx);
Javascript alert in asp.net (In another way)
ScriptManager.RegisterStartupScript(this.Page, this.Page.GetType(), "Error_msg", "alert('" + ex.Message + "')", true);
No comments:
Post a Comment