alam14_mist 0 Newbie Poster

I have use following code

string msg = "Saved Successfully.";
Label lbl = new Label();
lbl.Text = "<script language='javascript'>" + Environment.NewLine + "window.alert('" + msg + "') </script>";
Page.Controls.Add(lbl);

How can I change the icon?
(I also tried by :window.alert('" + msg + "',3))

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.