Ask a Question related to ASP.NET General, Design and Development.
-
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
Erik Veldkamp Guest
-
Javascript alert message problem
Hello. I'm developing and testing a web application using VS.NET 2003, VB, .NET Framework 1.1.4322, ASP.NET 1.1.4322 and IIS5.1 on a WIN XP Pro,... -
alert statement in javascript not shown
Hi, I am new to Javascript and coldfusion. I have a cfm search page that allow user to search by state and/or city. In the form statement... -
Javascript alert
Hi, I have a Javascript alert as below. alert('Please enter Todays Date'); This works fine. But I want an apostrophy after the y in... -
confirm method in javascript
Is there a way to set the default option to 'Cancel' rather than 'Ok' in Javascript confirm method? cmdDelete.Attributes.Add("onClick",... -
Javascript submit method
Hello When using html forms & FMP does FMP absolutely require a <input type="submit" value="-NEW"> tag or can I get away with using something... -
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:
RegisterClientScriptBlock("myAlert", "<script
language='javascript'>alert('Here alert');</script>")
HTH
"Erik Veldkamp" <erik.veldkamp@wxs.nl> wrote in message
news:bgijmp$3ns$1@reader10.wxs.nl...alert> Hi there,
>
> When I use javascript I can call the alert(string) method, to show an> window.
>
> How can I do the same when I use C# script?
>
> Thanks for your help
>
>
Anatoly Guest



Reply With Quote

