Jump to content

Access is denied. when try to open in a new Windows browser


rencarnacion
 Share

Recommended Posts

Hi, I need help with these case 

I try to open a pdf document with javaScript 

Using javaScript 

 

The Variable UniMainModule.gs_ReporteDireccion store the Address of the PDF Document.

 

I'm Interest into Load from the cache Files Because I don't want to Fill the Files Folder with PDF Files. the Cache files are delete as soon you close the session.

If I create the pdf file under Files Folder I can Load but as I say bellow I'm interest in load from Cache Files 

 

 

procedure TfrmReportPreview.UniSpeedButton1AjaxEvent(Sender: TComponent;
  EventName: string; Params: TStrings);
begin
 
      UniSession.AddJS('window.open("' +UniMainModule.gs_ReporteDireccion+'")');
end;

 

 

 

 

 

post-922-0-75823300-1401828247_thumb.png

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

×
×
  • Create New...