Announcement

Collapse
No announcement yet.

Displaying a PDF from a Control

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • Displaying a PDF from a Control

    Would like to display a PDF from a button in a Control. I am using sc_redir to open to a new window which is working fine, but the calling control application is showing OK. Clicking OK returns to the same application. Can I avoid having to click the OK button?
    Last edited by bengrech; 05-19-2014, 06:04 AM.

  • #2
    Originally posted by bengrech View Post
    Would like to display a PDF from a button in a Control. I am using sc_redir to open to a new window which is working fine, but the calling control application is showing OK. Clicking OK returns to the same application. Can I avoid having to click the OK button?
    One approach might be to pass the pdf to a blank application. In this blank application you can set the HTML headers to let the browser respond in the desired way and let the pdf be downloaded or previewed. This will prevent the ok button to appear.
    Albert Drent
    aducom software netherlands
    scriptcase partner, reseller, support and (turn-key) development
    www.scriptcase.eu / www.scriptcase.nl

    Comment


    • #3
      Hi,
      I think that you can use javascript instead in order do not have the OK button. Someone suggest me but I don't remember how becouse it's long time ago.
      Bye

      Comment


      • #4
        there is a javascript called pdf.js you may be able to do it with that.

        Comment

        Working...
        X