Solved

Make file "Save As" pop up in Aspx.net

Posted on 2013-05-24
1
312 Views
Last Modified: 2013-05-31
In my code-behind, I dynamically create a PDF file based on user input and save it to a folder on the server. I now want to prompt the user to save and name it to their machine. I tried Page.Response.TransmitFile, but in IE 9, this brings up a yellow bar along the bottom, asking if the user wants to open or save the file from the localhost.

That's not what we want. Instead we want a file "save as" popup. (The same one you get when you right click an image and select "Save image as..." which allows you to specify a location and file name.)

From that yellow bar I mentioned, you can get there if you select "Save As", but I want to save the user a step and get right to that point. How can I do that programmatically?
0
Comment
Question by:jjsather
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
1 Comment
 
LVL 10

Accepted Solution

by:
ecarbone earned 500 total points
ID: 39195906
I'm not sure you can bypass the dreaded 'yellow bar' in IE.
It's a security feature.

How does your web app work if you try it in Chrome or Firefox?
0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Internet is a big network which is formed by connecting multiple small networks.It is a platform for all the users which are connected to it.Internet act as platform in different fields. Such as: Internet  as a collaboration platform. Internet  as…
I recently found myself in a Corporate Situation where the client had requested blocking access to any and all websites except his own Domain? Easy? I am sure this would be your answer but their requirement was, this has to be done without using…
This Micro Tutorial will demonstrate how to add subdomains to your content reports. This can be very importing in having a site with multiple subdomains.
This Micro Tutorial will demonstrate how nuggets on the Web are formatted by using Chrome Developer Tools. These tools would not only view the site's CSS but it can also modify it and save the CSS to use on your own site.

726 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question