1

I used below code for showing message in my page

if (Session["Message"] != null)
    {

        //Write message code here
        this.ClientScript.RegisterStartupScript(GetType(), "Javascript", "<script>alert('insert succesfullyا')</script>");

        Session["Message"] = null;
    }

I want this message show with (font=Tahoma font-size=12px and font-weight:bold )

How I can do it?

  • possible duplicate of [how to change the style of alert box](http://stackoverflow.com/questions/7853130/how-to-change-the-style-of-alert-box) – Daniel Paul Mar 20 '14 at 06:05

1 Answers1

1

Nope, its not possible.

You have to use custom alert box.Using jQuery, here are some:

This answer shows a way to have a confirm-like blocking dialog using jquery ui dialog

Check this already answered SO Question: Change the styling of default alert box

Community
  • 1
  • 1