0

如何更改消息框的标题 在此处输入图像描述

这是我的代码隐藏:

 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);
4

1 回答 1

4

不,您不能更改该标题。或者,您可以使用jQuery 警报/对话框来实现相同的目的。

于 2013-11-12T09:51:53.623 回答