Equivalent of Javascript Alert(string) method in C# script.

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Erik Veldkamp

    #1

    Equivalent of Javascript Alert(string) method in C# script.

    Hi there,

    When I use javascript I can call the alert(string) method, to show an alert
    window.

    How can I do the same when I use C# script?

    Thanks for your help


  • Anatoly

    #2
    Re: Equivalent of Javascript Alert(string) method in C# script.

    There is no equivalent for alert(), cause C# is server-side language,
    alert() : client-side script
    What you can do: write to client alert() script like:

    RegisterClientS criptBlock("myA lert", "<script
    language='javas cript'>alert('H ere alert');</script>")
    HTH

    "Erik Veldkamp" <erik.veldkamp@ wxs.nl> wrote in message
    news:bgijmp$3ns $1@reader10.wxs .nl...[color=blue]
    > Hi there,
    >
    > When I use javascript I can call the alert(string) method, to show an[/color]
    alert[color=blue]
    > window.
    >
    > How can I do the same when I use C# script?
    >
    > Thanks for your help
    >
    >[/color]


    Comment

    Working...