I am using label text to show a different status on the asp.net website.
eg. "Profile Updates", "Invalid Character", etc., however, would prefer to have a pop-up message box.
Here is what I tried -
string alert = ws.webMethod(TextBox1.Text); System.Web.HttpContext.Current.Response.Write("<SCRIPT LANGUAGE='JavaScript'>alert(" + alert + ")</SCRIPT>");
However, when this leaves, the screen in IE just gets bigger and the message box is not displayed.
How can i achieve this?
source share