Click link to PDF

This public forum is for user-to-user discussions of ASP.NET Maker. Note that this is not support forum.
Post Reply
crash
User
Posts: 151

Click link to PDF

Post by crash »

I currently have PDF embedded. This looks good.

How do I keep it as an embedded file click to download?

I understand that if I turn off embed pdf it shows only the url link to download.
Currently, it seems one or the other.

I want to see the pdf embedded image and click on it to download/open.

Thanks


MichaelG
User
Posts: 1107

Post by MichaelG »

I understand that if I turn off embed pdf it shows only the url link to download. Currently, it seems one or the other.

You need to customize the function GetFileViewTag in "Models/aspnetfn.cs" to add the download link for embedded PDF. Look for the lines handling the embedded PDF (Config.EmbedPdf).


Post Reply