JS Viewer new features needed

Stimulsoft Reports.Silverlight discussion
Locked
vani.kulkarni
Posts: 27
Joined: Thu Jun 02, 2016 7:22 am

JS Viewer new features needed

Post 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
Alex K.
Posts: 6488
Joined: Thu Jul 29, 2010 2:37 am

Re: JS Viewer new features needed

Post 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.
Alex K.
Posts: 6488
Joined: Thu Jul 29, 2010 2:37 am

Re: JS Viewer new features needed

Post 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.
vani.kulkarni
Posts: 27
Joined: Thu Jun 02, 2016 7:22 am

Re: JS Viewer new features needed

Post 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 ?
Alex K.
Posts: 6488
Joined: Thu Jul 29, 2010 2:37 am

Re: JS Viewer new features needed

Post by Alex K. »

Hello,

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

Thank you.
Locked