We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy.
Unfortunately, activation email could not send to your email. Please try again.

Javascript in PDF Form has no effect

Thread ID:

Created:

Updated:

Platform:

Replies:

108379 Apr 17,2013 08:37 AM Apr 21,2013 10:29 AM ASP.NET Web Forms (Classic) 1
loading
Tags: PDF
Patrick Garcia
Asked On April 17, 2013 08:37 AM

At first, hi everybody

So i've registred because our company uses syncfusion a lot and sometimes there are strange effects showing up.
So my situation:
I have a PDF Template with some Fields.
In back I've set some javascript on the 'BeforeSave' event.
If i do save the document manually, it works fine.

But in code, we set the flag 'Flatten' of the PdfLoadedDocument to true and then save it with the save function.
But the javascript has no effect anymore. So i wonder, is the flatting done before the saving?
Is there a way to run the javascript before the flatting?
Another problem is: fields that are set to not visible, are rendered visible (i think its getting ignored at flatting)

Some ideas?
If needed, I can post more details or upload the pdf

Thanks!
Patrick

Praveenkumar H [Syncfusion]
Replied On April 21, 2013 10:29 AM

Hi Patrick,

Thank you for using Syncfusion Products.

Please create the new Direct trac incident with simplified sample project which reproduces the issue.
it will help us to investigate further in this issue. 

Please let us know if you have any concern.

With Regards,
Praveen

CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.

;