Page 1 of 1

Click link to PDF

Posted: Mon Apr 18, 2022 8:29 pm
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


Re: Click link to PDF

Posted: Tue Apr 19, 2022 6:44 am
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).