艺海无涯,学无止境。欢迎一起探讨技术和人生,了解我

FineUI自定义对话框图标


protected void Button1_Click(object sender, EventArgs e)
{
Alert alert = new Alert();
alert.CssClass = "myalert";
alert.Message = "你好 FineUI!";
alert.Icon = Icon.Book;
alert.Show();
}
protected void Button2_Click(object sender, EventArgs e)
{
Alert alert = new Alert();
alert.Message = "你好 FineUI!";
alert.IconUrl = "~/res/images/success.png";
alert.Target = Target.Top;
alert.Show();
}