Jump to content

application desktop and mobile with sharing directory files\pdfs.


AntonioCuomo

Recommended Posts

Hi,

use this to send localfile to client

UniSession.SendFile (FileName);

 

this check POpuP Settings and open file

UniSession.AddJS('var myWindow = window.open(''' + UrlFilePath + PrnDataList.Values ['DokType'] + ''', ''foo'','''');'//+ ''', ''_blank'');'
                                        + ' if (myWindow == null)'
                                        + '   alert (''Please change your popup settings'');'
                                        + ' else  {'
                                        + '  myWindow.moveTo(0, 0);'
                                        + '  myWindow.resizeTo(screen.width, screen.height);'
                                        + '}'
                                    //+ 'myWindow.print();'
                                    //+ 'myWindow.close();'
                                    );
 

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.

×
×
  • Create New...