Showing alerts

Last post 02-11-2008 12:21 PM by zopostyle. 1 replies.

Sort Posts:

  • Showing alerts

    02-11-2008, 11:37 AM
    • Member
      36 point Member
    • zopostyle
    • Member since 02-03-2006, 11:06 AM
    • Posts 67

    Hi,

    Using .Net 3.5 and ajax, how can I show some alert box to the user ?

    Thanks

    --
    Domain hosting http://brunozp.com.br
    Visit: http://brunozp.com
  • Re: Showing alerts

    02-11-2008, 12:21 PM
    Answer
    • Member
      36 point Member
    • zopostyle
    • Member since 02-03-2006, 11:06 AM
    • Posts 67

    I solved... Usign this... 

    string script = "&lt;script>alert(Message to show.');</script>";
    ClientScript.RegisterStartupScript(Page.GetType(), "AlertBox", script);
     
    --
    Domain hosting http://brunozp.com.br
    Visit: http://brunozp.com
Page 1 of 1 (2 items)
Microsoft Communities