Closed JoopStringer closed 4 years ago
Is jquery making Ajax calls?
Il sab 23 mag 2020, 11:05 Joop Stringer notifications@github.com ha scritto:
I have ASP.NET application succesfully integrated Rotativa. However I now have a page with jQuery script and it is not executed when using the ViewAsPdf action Any solutions ? I added "--javascript-delay 10000", no difference. If I run the page in browser, it's ok and executing jQuery.
Using Rotativa 1.7.3 from NuGet, jQuery 3.1.1
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/webgio/Rotativa/issues/215, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAKCTPN4PEGJYCEAJC3CIGDRS6GUJANCNFSM4NILTZMA .
Hi Gio,
No AJAX calls. After some digging I found this post * https://github.com/wkhtmltopdf/wkhtmltopdf/issues/4341
So I created an additional JS file and now it looks like it's working. Also tried ActionAsPDF but then I end up in authentication issues -> PDF shows login screen...
Great, thanks!
Il sab 23 mag 2020, 15:50 Joop Stringer notifications@github.com ha scritto:
Hi Gio,
No AJAX calls. After some digging I found this post * wkhtmltopdf/wkhtmltopdf#4341 https://github.com/wkhtmltopdf/wkhtmltopdf/issues/4341
- Override jquery >= 3.3.1 functions because of wkhtml2pdf 12.5 issues
So I created an additional JS file and now it looks like it's working. Also tried ActionAsPDF but then I end up in authentication issues -> PDF shows login screen...
— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/webgio/Rotativa/issues/215#issuecomment-633057591, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAKCTPN25YYSCASRYULMMDDRS7IB7ANCNFSM4NILTZMA .
I have ASP.NET application succesfully integrated Rotativa. However I now have a page with jQuery script and it is not executed when using the ViewAsPdf action Any solutions ? I added "--javascript-delay 10000", no difference. If I run the page in browser, it's ok and executing jQuery.
Using Rotativa 1.7.3 from NuGet, jQuery 3.1.1