Javascript message box
if (intResult == -1)
{
lblmsg.Text = "Email ID Already registered...Please Change.!!";
string javaScript = "<script language=JavaScript>\n" +
"alert('Email ID Already registered...Please Change.!! !!');\n" +
"</script>";
Page.ClientScript.RegisterStartupScript(this.GetType(), "onload", javaScript);
}
if (intResult == -1)
{
lblmsg.Text = "Email ID Already registered...Please Change.!!";
string javaScript = "<script language=JavaScript>\n" +
"alert('Email ID Already registered...Please Change.!! !!');\n" +
"</script>";
Page.ClientScript.RegisterStartupScript(this.GetType(), "onload", javaScript);
}
0 comments:
Post a Comment