Re: How to redirect after the download starts
- From: "William F. Robertson, Jr." <theman@xxxxxxxxxx>
- Date: Tue, 24 May 2005 08:21:24 -0500
When you open a new window to another address, it will open the new window.
When the only thing sent by the server to the "new" browser window, is a
downloaded file, on my Windows 2000 Client, it basically closes out the
window and switches to a dowload dialog.
You will probably want to test this, but I believe it should work.
bill
"Hitesh" <Hitesh@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:7D9369C8-AC1C-4C37-A80B-495A43751CC8@xxxxxxxxxxxxxxxx
> Hi William,
>
> Thanks for your sugggestion and its working too but i have one question
> related to this suggestion and i guess you probably expecting it!
>
> The thing is what about the window that gets opened up, do we have any way
> to hide that window? Because for users its difficult to accept that a
window
> appears just becuase they are downloading something.
> --
> Thanks
> Hitesh
>
>
> "William F. Robertson, Jr." wrote:
>
> > You probably will have to use window.open( '' ) to start the download,
then
> > in your parent window, redirect to the congratulations page.
> >
> > bill
> >
> >
> > "Hitesh" <Hitesh@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
> > news:8C1685E9-1B64-43BF-953C-0B6E918B6CEC@xxxxxxxxxxxxxxxx
> > > Hi,
> > >
> > > I am having a requirement where in user can click on a link and the
> > download
> > > popup appears and then user should be redirected to a congratulations
> > page.
> > >
> > > We didn't bother whether the download is successful or not but as soon
as
> > > user clicks on the download link the popup appears, and then the user
> > should
> > > be directed to the congratulations page.
> > >
> > > I have written the standard code to download the file but after that i
am
> > > unable to redirect the user to another page.
> > >
> > > Can anybody help me out to achive the same.
> > >
> > > --
> > > Thanks
> > > Hitesh
> >
> >
> >
.
- Follow-Ups:
- Re: How to redirect after the download starts
- From: Hitesh
- Re: How to redirect after the download starts
- References:
- How to redirect after the download starts
- From: Hitesh
- Re: How to redirect after the download starts
- From: William F. Robertson, Jr.
- Re: How to redirect after the download starts
- From: Hitesh
- How to redirect after the download starts
- Prev by Date: Formatting Textarea characters
- Next by Date: Re: CRUD in SP or Dynamic SQL
- Previous by thread: Re: How to redirect after the download starts
- Next by thread: Re: How to redirect after the download starts
- Index(es):
Relevant Pages
|