Reputation: 145
How can I change the title of my message box
Here is my code-behind:
string myStringVariable1 = string.Empty;
myStringVariable1 = "Policy Number:" + " " + txtPolNo.Text.ToString() + " " + "with Issuance office:" + " " + dropIssOff.Text.ToString() + " " + "was not found on the database. Please make sure that your inputs are correct.";
ClientScript.RegisterStartupScript(this.GetType(), "myalert", "alert('" + myStringVariable1 + "');", true);
Upvotes: 0
Views: 612
Reputation: 40970
No, You can't change that title. Alternatively you can use the jQuery alert/dialog box to achieve the same.
Upvotes: 4