Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

View pdf file without adobe reader

Status
Not open for further replies.

Adonetok

Programmer
Jun 5, 2015
7
US
I need to create a project to upload pdf file to file server.

Before uploading, I want to add a button to preview it.

Is there any way to preview it (without adobe reader) or convert pdf to image file and then to view it?
 
I use fileupload as below. How to complete to view pdf file when clicking btnPreview?

<table>
<tr>
<td class="style3">
<asp:Label ID="Label1" runat="server" Text="Photo upload" />
</td>
<td class="style4">
<asp:FileUpload runat="server" ID="PhotoUpload" />
</td>
<td class="style4">
<asp:Button runat="server" OnClick="btnPreview_Click" ID="btnPreview" Text="Preview" />
</td>
<td class="style1">
<asp:Image runat="server" ID="ImagePreview" Height="164px" Width="125px" />
</td>
</tr>
</table>
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top