ScriptManager.RegisterClientScriptBlock - 更改消息框C#的样式

时间:2016-05-16 10:30:32

标签: c# asp.net

我使用的是asp.net网页设计。我使用ScriptManager.RegisterClientScriptBlock显示成功的消息和错误消息。这是对Gridview的验证。我可以更改此消息框的样式吗?我有以下代码

ScriptManager.RegisterClientScriptBlock(this, this.GetType(), "alertMessage", "alert('At least on rating must be selected per question')", true);

ScriptManager.RegisterClientScriptBlock(this, this.GetType(), "alertMessage", "alert('Results saved Successfully')", true);

感谢您的帮助

0 个答案:

没有答案