Formats incompability
-
- Posts: 15
- Joined: Wed Jan 23, 2019 12:38 pm
Formats incompability
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
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
-
- Posts: 6263
- Joined: Tue Mar 20, 2018 5:34 am
Re: Formats incompability
Hello,
Could you send us your report template (mrt) and rendered report (mdc) for analysis?
Thanky ou.
Could you send us your report template (mrt) and rendered report (mdc) for analysis?
Thanky ou.
-
- Posts: 15
- Joined: Wed Jan 23, 2019 12:38 pm
Re: Formats incompability
Hello,
sending requsted.
Regards
Tom
sending requsted.
Regards
Tom
-
- Posts: 6263
- Joined: Tue Mar 20, 2018 5:34 am
Re: Formats incompability
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.
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.
-
- Posts: 15
- Joined: Wed Jan 23, 2019 12:38 pm
Re: Formats incompability
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.
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.
-
- Posts: 6263
- Joined: Tue Mar 20, 2018 5:34 am
Re: Formats incompability
Hello,
We need some additional time to investigate the issue, we will let you know about the result.
Thank you.
#3883
We need some additional time to investigate the issue, we will let you know about the result.
Thank you.
#3883
-
- Posts: 6263
- Joined: Tue Mar 20, 2018 5:34 am
Re: Formats incompability
Hello,
The issue is fixed. The fix will be available in the next release build.
Thank you.
The issue is fixed. The fix will be available in the next release build.
Thank you.
-
- Posts: 15
- Joined: Wed Jan 23, 2019 12:38 pm
Re: Formats incompability
Hello,
thank you for the fix. I'm looking forward to a new version.
Tom
thank you for the fix. I'm looking forward to a new version.
Tom
-
- Posts: 6263
- Joined: Tue Mar 20, 2018 5:34 am
Re: Formats incompability
Hello,
You are welcome!
You are welcome!