JS Viewer new features needed

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

JS Viewer new features needed

Post by vani.kulkarni » Mon Jul 04, 2016 11:45 am

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: 6489
Joined: Thu Jul 29, 2010 2:37 am

Re: JS Viewer new features needed

Post by Alex K. » Tue Jul 05, 2016 6:45 am

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: 6489
Joined: Thu Jul 29, 2010 2:37 am

Re: JS Viewer new features needed

Post by Alex K. » Tue Jul 05, 2016 11:19 am

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 » Wed Jul 06, 2016 9:16 am

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: 6489
Joined: Thu Jul 29, 2010 2:37 am

Re: JS Viewer new features needed

Post by Alex K. » Wed Jul 06, 2016 10:32 am

Hello,

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

Thank you.
Post Reply