468,507 Members | 1,587 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 468,507 developers. It's quick & easy.

Problem related to File Download

Friends i need your help on the below issue please help me urgent......

Thanks in advance...

I have a web site where i have a button called report. On click of report button some data is being written in to a html file and a new window appears as expected.Here in this new window i have two frames.In the first frame i am displaying the html file and in the bottom frame 3 other buttons are there. one is "save", second is "print" and third is "download". From the button captions it is clear that what should be the functionality of each of the buttons.

When i click download button the download button the download dialog appears but once i download the file the window closes which i dont want.

The above problem is due to the response.addheader method which i have used for setting the filename for downloading.

Is there a way to download the file with out closing the window?
Sep 10 '07 #1
1 1122
jhardman
3,405 Expert 2GB
possibly. Could you look up the code for the button page and figure out what function is being executed when you click the download button? Print the code for that function and I will try to see how to modify it.

Jared
Sep 11 '07 #2

Post your reply

Sign in to post your reply or Sign up for a free account.

Similar topics

3 posts views Thread by Marin | last post: by
1 post views Thread by Wernfried Schwenkner | last post: by
1 post views Thread by theburnetts | last post: by
81 posts views Thread by =?utf-8?B?4piG4piG4piG4piG4piGIFPDvCBLZWl0aCBDaGFr | last post: by
reply views Thread by NPC403 | last post: by
3 posts views Thread by gieforce | last post: by
1 post views Thread by fmendoza | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.