or
Good afternoon,
I have switch statement where based on the value pop up error message.This is just plain message.I want something nice looking window on the server side.
Here is my coding in .cs file:
switch
(Flagout)
{
case
"F":
ScriptManager.RegisterStartupScript(this, this.GetType(), "message", "alert('Job issue.Please try again later.');", true);
break;
case "S":
ScriptManager.RegisterStartupScript(this, this.GetType(), "message", "alert('System error.Please try again later.');", true);
break;
case
"V":
ScriptManager.RegisterStartupScript(this, this.GetType(), "message", "alert('Security violation.You cannot approve this record.');", true);
break;
}
Please help me.
Thanks so much.