PdfViewer via Iframe - How to access sessionData in PdfViewerController

Hello,

regarding my other thread 152943 - Using PdfViewer in a DevExpress Callback, we have a first workaround.
We are able to use the PdfViewer in a callback, if we put the PdfViewer in an Iframe.
My problem now is the following:

We have the pdf-data in an bytearray in the session-data. Unfortunately we cannot access the session-data in the PdfViewerController.
Is there a way to access the data? Do you have another idea to pass the data to the Pdfviewer?

Thanks a lot
Matthias

 
    

Attachment: PdfViewerViaIframe_2528736e.zip

5 Replies

AA Akshaya Arivoli Syncfusion Team May 7, 2020 04:53 PM UTC

Hi Matthias , 

Thank you for your update. 

We are currently checking on the reported query with the provided details and we will update you with further details on May 8th, 2020 


Regards, 
Akshaya 




AA Akshaya Arivoli Syncfusion Team May 11, 2020 02:59 PM UTC

Hi Matthias , 

Thank you for your patience. 

We can get the session data in aspx page using javascript then we can pass the same into the sever side using documentPath or load() API in the PDF Viewer. We have created the sample for the same and shared in the below link, 


Please try it and revert us with more details if you need any further assistance. 

Regards, 
Akshaya


MW Matthias Wagner May 15, 2020 09:52 AM UTC

Hi Akshaya,

thank you for your help. Works now :-)

One more thing. I found a bug in your localization.
In file ej.localetexts.de-DE.min.js the text for waitingPopup is not in german, looks like danish for me.

waitingPopup:{print:{contentText:"Forbereder dokument til udskrivning ..."}}

Is here the right place or shall i report the bug somewhere else?

Thanks.


AA Akshaya Arivoli Syncfusion Team May 18, 2020 12:56 PM UTC


Hi Matthias , 
  
Thank you for your update. 
  
We are currently checking on the reported query. We will update you with further details on May 19, 2020. 

Akshaya  





AA Akshaya Arivoli Syncfusion Team May 20, 2020 01:00 PM UTC

Hi Matthias  

Thank you for your patience. 

We can provide the localization for the PDF Viewer control in the sample level. Please refer to the below link for more details, 



Similarly we can provide the localization text for German culture. Also we will change the localization text from our side. Please try it and revert us with more details if you need any further assistance. 

Regards, 
Akshaya 


Loader.
Up arrow icon