Page 1 of 1

JS Viewer new features needed

Posted: Mon Jul 04, 2016 11:45 am
by vani.kulkarni
Rather than "Print" we need toolbar to show "Printable View", how to rename the tools?

How to dock toolbar on top when report has multiple pages?

SL: HTML tags are ignored when viewer exports report to pdf, how to fix that?
in SL designer, we have set Allow HTML tags for text content still its not exported.
What is the way to do this?
we dont have complex HTML, simple strings with bold and italic etc

Re: JS Viewer new features needed

Posted: Tue Jul 05, 2016 6:45 am
by Alex K.
Hello,
SL: HTML tags are ignored when viewer exports report to pdf, how to fix that?
We need some additional time for investigating the issue.

We will let you know about the result.
Thank you.

Re: JS Viewer new features needed

Posted: Tue Jul 05, 2016 11:19 am
by Alex K.
Hello,

Unfortunately, the native version work as is.

As a way, you can render and export report on the server side (will be exported with .NET engine) and then send result on the client.

Thank you.

Re: JS Viewer new features needed

Posted: Wed Jul 06, 2016 9:16 am
by vani.kulkarni
Ok, so
Option 1: Export to pdf at server, send byte[] or string to client and on client side save string to pdf file
References:
http://stackoverflow.com/questions/1141 ... javascript

http://stackoverflow.com/questions/1287 ... sing-javas

http://stackoverflow.com/questions/2805 ... javascript

Option 2: Once JS viewer renders the report, mdc is already on clinet,
Can I use JS viewer functions or StiReport.ExportDocument(StiExportFormat.Pdf, ...) to export to pdf function directly on client ?

Re: JS Viewer new features needed

Posted: Wed Jul 06, 2016 10:32 am
by Alex K.
Hello,

Unfortunately, at the current moment, HTML tags in export to PDF is not supported.

Thank you.