G
Guest
Hi,
On a click event of a button I do some validation.
If my validation is unsuccessful I display an alert to the user as below.
string message = "This is a test alert.";
ClientScript.RegisterStartupScript(typeof(Page), "alert", "<script
language=JavaScript>alert('" + (message) + "');</script>");
The alert gets displayed in FireFox but not in Internet Explorer.
Anyone know why?
Thanks.
On a click event of a button I do some validation.
If my validation is unsuccessful I display an alert to the user as below.
string message = "This is a test alert.";
ClientScript.RegisterStartupScript(typeof(Page), "alert", "<script
language=JavaScript>alert('" + (message) + "');</script>");
The alert gets displayed in FireFox but not in Internet Explorer.
Anyone know why?
Thanks.