Page 1 of 2

Formats incompability #2

Posted: Fri May 06, 2022 12:25 pm
by Tomi Urych
Hello,
I came across another incompatibility between JS and .NET versions. I mentioned first one in viewtopic.php?p=160876#p160876. So conditions and the simplified "code" stays the same.

So just a brief recapitulation:
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 from 2021 to 2022 versions. In 2022 version there are missing hyperlinks on client side. I need to switch to 2022 version because of another problem solved in it (viewtopic.php?p=163690&hilit=JS+sorting+problem#p163690).

So can I ask you to solve this incompatibility ?
Thank you for answer.
Regards
Tom

Re: Formats incompability #2

Posted: Fri May 06, 2022 1:51 pm
by Max Shamanov
Hello,

We couldn't reproduce the issue.
Please send us a sample report with test data that reproduces the issue for analysis.

Thank you.

Re: Formats incompability #2

Posted: Wed May 11, 2022 8:15 am
by Tomi Urych
Hello,
I just added a simple hyperlink to a textbox: SomeExtender.aspx?formtype=GenRep.

... and tried to display it with thi 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 #2

Posted: Fri May 13, 2022 1:05 pm
by Lech Kulikowski
Hello,

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

Thank you.

Re: Formats incompability #2

Posted: Thu Jun 02, 2022 10:19 am
by Lech Kulikowski
Hello,

We couldn't reproduce the issue.
Please send us a sample project that reproduces the issue for analysis.

Thank you.

Re: Formats incompability #2

Posted: Thu Jun 23, 2022 7:30 am
by Tomi Urych
Hello,
sending required sample project. Project server generates real report to HTML and JS (binary) formats. Note there are many hyperlinks in HTML report. Load "report.js" in binary format into client project (web). Note there are no hyperlinks in client report.
Tested on 2022.3.1 version.
Thank you.

Re: Formats incompability #2

Posted: Mon Jun 27, 2022 7:20 am
by Lech Kulikowski
Hello,

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

Thank you.

Re: Formats incompability #2

Posted: Fri Aug 12, 2022 9:41 am
by Tomi Urych
Hello,
may I ask for any progress in this problem ?
Thank you.

Re: Formats incompability #2

Posted: Fri Aug 12, 2022 2:50 pm
by Lech Kulikowski
Hello,

We are working on the problem. We will let you know when the solution is available.

Thank you.
#7821

Re: Formats incompability #2

Posted: Mon Nov 14, 2022 10:39 am
by Lech Kulikowski
Hello,

Please check the last release build. We couldn't reproduce the issue on the last build.

Thank you.