AFDate_KeystrokeEx not working on WPF PdfTextBoxField

I am rendering a custom created PDF that contains a PdfTextBoxField with the following Actions attached:

fieldValidTo.Actions.KeyPressed = new PdfJavaScriptAction("AFDate_KeystrokeEx(\"dd.mm.yyyy\")");
fieldValidTo.Actions.Format = new PdfJavaScriptAction("AFDate_FormatEx(\"dd.mm.yyyy\")");

The actions are working if the PDF is saved to disk and opened with e.g. PDF-XChange Editor.
But unfortunately it is not working if I attach the PDF as Stream to a PdfViewerControl.
What am I doing wrong?

Best Regards,
Michael

1 Reply

DD Divya Dhayalan Syncfusion Team March 10, 2021 06:08 PM UTC

Hi Michael,  

Thanks for contacting Syncfusion support.
  
  
We have analyzed your requirement of displaying Text box fields and perform JavaScript Action with the Text box fields using WPF PDF viewer. At present, we do support the displaying Text box and functionalities and we do not have support for JavaScript actions in the WPF PDF Viewer.  
  
We have already logged a feature request for this. and will consider this requirement when implementing the same. At the planning stage for every release cycle, we review all open features and identify features for implementation based on specific parameters including product vision, technological feasibility, and customer interest.       
  
Based on our present commitments and the above parameters, we don’t have any immediate plans to implement this feature. We will let you know when this feature is implemented. You can now track the status of this feature request here,  
  
 
Regards, 
Divya

Loader.
Up arrow icon