Code Comments

Programming Forum and web based access to our favorite programming groups.
For Programmers: Free Programming Magazines | New: Database administration forum
Registration is free! Edit your profileCalendarFind other membersFrequently Asked QuestionsSearch -> 
Post New Thread











Thread
Author

Popup instead of Javascript Alert
Two little challenges:
1. I would like to achieve the equivalent of a client side javascript alert
popup from server side code. Any suggestion how I can do this?
2. How can I cause a beep at clientside from serverside code?


Report this thread to moderator Post Follow-up to this message
Old Post
SibAndela
09-25-04 08:55 PM


Re: Popup instead of Javascript Alert
examnotes wrote on 25 sep 2004 in
microsoft.public.inetserver.asp.general:

> Two little challenges:
> 1. I would like to achieve the equivalent of a client side javascript
> alert popup from server side code. Any suggestion how I can do this?

You cannot.
Serverside code only runs on the server.

> 2. How can I cause a beep at clientside from serverside code?

You cannot.
Serverside code only runs on the server.

You can only have ASP serverside code make an html cum clientside code
page, that has those functions, but that doesn't seem to be what you want.


--
Evertjan.
The Netherlands.
(Please change the x'es to dots in my emailaddress,
but let us keep the discussions in the newsgroup)


Report this thread to moderator Post Follow-up to this message
Old Post
Evertjan.
09-25-04 08:55 PM


Re: Popup instead of Javascript Alert
What I would like is to cause a popup on the client (a second page if
necessary) initiated  or redirected from the the server side code.

"Evertjan." wrote:

> examnotes wrote on 25 sep 2004 in
> microsoft.public.inetserver.asp.general:
> 
>
> You cannot.
> Serverside code only runs on the server.
> 
>
> You cannot.
> Serverside code only runs on the server.
>
> You can only have ASP serverside code make an html cum clientside code
> page, that has those functions, but that doesn't seem to be what you want.
>
>
> --
> Evertjan.
> The Netherlands.
> (Please change the x'es to dots in my emailaddress,
> but let us keep the discussions in the newsgroup)
>
>

Report this thread to moderator Post Follow-up to this message
Old Post
SibAndela
09-26-04 02:03 PM


Re: Popup instead of Javascript Alert
Once again the server has no idea what a "window" is.

This makes it so that the server can't do that.

This is a question that should be asked in a client side script group.

Here are two newsgroups where you should be asking this sort of question.

microsoft.public.scripting.jscript

comp.lang.javascript

SibAndela wrote:

> What I would like is to cause a popup on the client (a second page if
> necessary) initiated  or redirected from the the server side code.
>


Report this thread to moderator Post Follow-up to this message
Old Post
Joker
09-26-04 08:55 PM


Re: Popup instead of Javascript Alert
SibAndela <SibAndela@discussions.microsoft.com> wrote in message news:<EFC792F3-B8A8-443D-9
43E-5B29F5ED2DDE@microsoft.com>...
> Two little challenges:
> 1. I would like to achieve the equivalent of a client side javascript aler
t
> popup from server side code. Any suggestion how I can do this?
> 2. How can I cause a beep at clientside from serverside code?

Use javascript, in particular the "window.open" call is what you are looking
 for.

swp

Report this thread to moderator Post Follow-up to this message
Old Post
swp
09-27-04 08:55 PM


Sponsored Links




Last Thread Next Thread Next
Search this forum -> 
Post New Thread

ASP archive

Show a Printable Version Send to friend Email This Page to Someone! subscribe to this thread Receive updates to this thread
Computer Consultants
Programming Jobs
Visual Basic Controls
SQL Server Programming
Webservices
Java Security
Visual Studio
C# Programming
Visual J++
Software engineering
Open source Software
Perl Programming
PHP Programming
ASP Programming
ASP .NET Programming
Visual Basic Programming
Windows Scripting Host
Java Programming
Java Help
Java Beans
VBScript
Cobol
MAC Applications
Unix Programming
Forum Jump:
All times are GMT. The time now is 05:23 PM.

 
Free MCSE Braindumps | Real Estate Topics

Programming forum archive

Copyrights CodeComments.com 2004 - 2006

Powered by vBulletin Copyright 2000-2006 Jelsoft Enterprises Limited.