PC Review


Reply
Thread Tools Rate Thread

create pop-up alert box using C#

 
 
joe
Guest
Posts: n/a
 
      18th Jul 2003
I need to create a pop-up alert from a .aspx.cs page. I
tried by using javascript b/c I know how to do it there
but it does not work this way.

Response.Write ("<script language=javascript>alert
('message');</script>");

How can I do this using C#?

Thanks

 
Reply With Quote
 
 
 
 
Marina
Guest
Posts: n/a
 
      18th Jul 2003
This is exactly how you would do it. This, or calling
RegisterClientScriptBlock method, and registering your script that way.

"joe" <(E-Mail Removed)> wrote in message
news:0bd901c34d3c$854a9560$(E-Mail Removed)...
> I need to create a pop-up alert from a .aspx.cs page. I
> tried by using javascript b/c I know how to do it there
> but it does not work this way.
>
> Response.Write ("<script language=javascript>alert
> ('message');</script>");
>
> How can I do this using C#?
>
> Thanks
>



 
Reply With Quote
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
create desktop alert =?Utf-8?B?Ynp1ZXJsZWlu?= Microsoft Outlook VBA Programming 3 9th Nov 2007 07:09 AM
Re: How to Create Sound Alert and Email Alert when Macro is Finish Tom Ogilvy Microsoft Excel Programming 0 30th Nov 2006 11:12 PM
Re: How to Create Sound Alert and Email Alert when Macro is Finish Bob Phillips Microsoft Excel Programming 0 30th Nov 2006 09:21 PM
Re: How to Create Sound Alert and Email Alert when Macro is Finished Bob Davison Microsoft Excel Programming 0 30th Nov 2006 08:14 PM
create pop-up alert using c# joe Microsoft Dot NET 0 17th Jul 2003 11:40 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 08:31 AM.