Page 1 of 1

Formats incompability

Posted: Wed Mar 31, 2021 10:26 am
by Tomi Urych
Hello,
I am using Stimulsoft report for about 11 years and first time I came across the problem I'm not able to solve it without your help.

I am using combination od Stimulsoft.JS Designer / Viewer on client side and Stimulsoft.NET on server side for rendering. Report is created in Stimulsoft.JS Designer and saved into database. When the report is printed, server renders report with Stimulsoft.NET, saves it with StiReport.SavePackedDocumentToString() and sends it to the client. Client loads the report with Stimulsoft.JS method StiReport.loadPackedDocument() and displays it with Stimulsoft.JS viewer.

This worked fine until I switched to 2020, resp.2021 versions. When I create simple report in JS version, put one textbox with borders into it, render report with NET version and send back to the client, borders are missing.

I tried to use another formats (saveDocumentToJsonString), but there is another problem with missing hyperlinks.

So my question is: is there any format which I am able to send report rendered in Stimulsoft.NET and view it with the Stimulsoft.JS version ?

Thank you for answer.

Regards
Tom

Re: Formats incompability

Posted: Wed Mar 31, 2021 1:11 pm
by Lech Kulikowski
Hello,

Could you send us your report template (mrt) and rendered report (mdc) for analysis?

Thanky ou.

Re: Formats incompability

Posted: Thu Apr 01, 2021 6:45 am
by Tomi Urych
Hello,
sending requsted.

Regards
Tom

Re: Formats incompability

Posted: Tue Apr 06, 2021 11:11 pm
by Lech Kulikowski
Hello,

We couldn't reproduce the issue on our samples.
Could you send us a sample project (JS side) that reproduces the issue for analysis?

Thank you.

Re: Formats incompability

Posted: Thu Apr 08, 2021 8:38 am
by Tomi Urych
Hello,
sending simplified "code":
=================================================
Server side:
'Using Stimulsoft.NET 2021.2.1

Dim oReport As StiReport
'load report from XML template or compiled DLL ...
oReport.Render(False)

Dim sHTMLReport as String
'generate HTML page with rendered report and send it to the client
sHTMLReport &= "var STIreport = "
sHTMLReport &= "'" & oReport.SavePackedDocumentToString() & "';"
=================================================
Client side:
//Using Stimulsoft.JS 2021.2.1

//load reportObject from HTML page and initialize StiReport object
var reportObject „packedDocumentString….“
var _report = new Stimulsoft.Report.StiReport();
_report.loadPackedDocument(reportObject);

//display report in viewer
var options = new Stimulsoft.Viewer.StiViewerOptions();
var _viewer = new Stimulsoft.Viewer.StiViewer(options, "StiViewer", false);
_viewer.report = _report;
_viewer.renderHtml("viewerContent");

Thank you.

Re: Formats incompability

Posted: Mon Apr 12, 2021 10:01 am
by Lech Kulikowski
Hello,

We need some additional time to investigate the issue, we will let you know about the result.

Thank you.
#3883

Re: Formats incompability

Posted: Thu Apr 15, 2021 8:23 pm
by Lech Kulikowski
Hello,

The issue is fixed. The fix will be available in the next release build.

Thank you.

Re: Formats incompability

Posted: Mon Apr 19, 2021 7:09 am
by Tomi Urych
Hello,
thank you for the fix. I'm looking forward to a new version.
Tom

Re: Formats incompability

Posted: Mon Apr 19, 2021 7:23 am
by Lech Kulikowski
Hello,

You are welcome!