Popup problems

  • Thread starter Thread starter Charles A. Lackman
  • Start date Start date
C

Charles A. Lackman

Hello,

I have created an ASPX web site that streams audio. A Database is querried
and the results are presented to the visitor in a User control. One control
for each line returned from the querry. There is a Download and Cuts and
Listen button on the control. They are all aspx buttons. When the listen
button is clicked the audio is streamed using the following code:

Response.Write("<SCRIPT Language = 'JavaScript'>NewWindow=window.open(""" &
AUrl & """,'NewWindow', 'width=3, height=3'); NewWindow.close();</SCRIPT>")

This works great for what I am trying to accomplish, but I have clients who
visit the site who are in very protected internet environments. A very
strong Firewall and Popup blockers. In other words they cannot get to the
steaming audio because it is in a popup.

Is there a way to make this work? I don't want to the audio file to be
downloadable, just steamed.

Response.Redirect ("Audio.Wav") give a page cannot be displayed error. I
have to use code behind a button. The button provides many different
functions and this is only one of them.

Any suggestions is greatly appreciated,

Thanks,
Chuck
 
xp sp2 also will prevent popups and prevent your code from running. change
the listen button to be javascript (no postback) and it will work.

-- bruce (sqlwork.com)
 
Thank You for you help,
I am unable to find code examples to accomplish no postback in Javascript.
Could you please give me an example using the code I have below.

Thanks,

Chuck
 
Back
Top