Click here to Skip to main content
15,888,968 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
How can I show a dialogue(like a Print Dialogue) which shows the contents of file before downloading to local system?

I am using Microsoft .NET 4.5 Framework and I am implementing in C#(Express Edition).
Posted
Comments
Nathan Minier 23-Mar-15 8:01am    
Not enough info. It sounds like you want to provide a print preview-style interface across a web application so that an item can be looked over before a download is initiated. What sorts of files are you wanting to do this with?
Member 11503173 23-Mar-15 8:06am    
You are right. I want to provide a Print-Preview style of display and I am using PDF document.
Richard MacCutchan 23-Mar-15 8:13am    
Then you will have to download the file to a temporary location and use one of the free PDF reading libraries to display it.
Member 11503173 23-Mar-15 8:23am    
I am using pd4ml.dll libraries to render PDF. I am curious to know how to download it locally and then open for viewing.

A pseudo code or a link helping me understand would do great.
Sergey Alexandrovich Kryukov 23-Mar-15 8:56am    
It is trivial but depends on application type and the UI library you are using.
Please specify.
—SA

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900