|
-
Apr 13th, 2007, 01:23 PM
#1
Thread Starter
Junior Member
Download File, then Redirect [2005]
I need a button to do a response.redirect to two places, is this possible.
When the button is clicked it runs a procedure to write a file.
I need the last thing it does to be:
Code:
Response.Redirect("filepath/filename")
'to Download the file
Response.Redirect("default.aspx")
'to return them to home
It obviously doesn't work because it stops at the first redirect command.
I tried some server.transfer, I tried the response.redirect("file", false).
All to no avail. Any solution?
-
Apr 13th, 2007, 01:26 PM
#2
Re: Download File, then Redirect [2005]
I think you should ask this in the ASP .Net forum.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|