Web Service StimulSoft Report Object???
Re: Web Service StimulSoft Report Object???
Hello,
Please send us a sample project with test data which reproduce the issue for analysis.
Thank you.
Please send us a sample project with test data which reproduce the issue for analysis.
Thank you.
Re: Web Service StimulSoft Report Object???
Please find the sample project. You may need to change few path in that project.
Thanks
Thanks
Re: Web Service StimulSoft Report Object???
Hello.
1. The report should be rendered with Render() method before calling SaveDocumentToString() method.
2. LoadDocumentFromString() method load rendered pages of report into the RenderedPages collection.
3. In the SubReports.Add() method you should add report template but not the rendered report because the joint report is rendered to new collection of Rendered Pages.
So one way out is to pass from service the report template. You could do it with SaveToString() and Load() methods.
Other way is to join rendered pages of reports:
Thank you.
1. The report should be rendered with Render() method before calling SaveDocumentToString() method.
2. LoadDocumentFromString() method load rendered pages of report into the RenderedPages collection.
3. In the SubReports.Add() method you should add report template but not the rendered report because the joint report is rendered to new collection of Rendered Pages.
So one way out is to pass from service the report template. You could do it with SaveToString() and Load() methods.
Other way is to join rendered pages of reports:
Code: Select all
for (int i = 1; i < repCount; i++)
{
StiReport repDeatil = new StiReport();
repDeatil.Load(@"d:\a.mrt");
repDeatil.Render();
foreach (StiPage repPage in repDeatil.RenderedPages)
{
repPage.Report = mainReport;
mainReport.RenderedPages.Add(repPage);
}
}
Re: Web Service StimulSoft Report Object???
Is there any method to join rendered reports together????
Thank You
SaveToString() returns template in string format but the data is still missing. Did you mean that I need to get data and report template standalone from service???Aleksey Andreyanov wrote: So one way out is to pass from service the report template. You could do it with SaveToString() and Load() methods.
Thank You
Re: Web Service StimulSoft Report Object???
Hello.
Thank you.
Please, read second part of the previous answer.roomy wrote:Is there any method to join rendered reports together????
In this case your should also pass the data.roomy wrote:SaveToString() returns template in string format but the data is still missing. Did you mean that I need to get data and report template standalone from service???
Thank you.
Re: Web Service StimulSoft Report Object???
Thank You Aleksey.
I get that. Will you please tell me should I need to call compile() and render() because I noticed render() can create report individual as well.
Thanks
I get that. Will you please tell me should I need to call compile() and render() because I noticed render() can create report individual as well.
Thanks

Re: Web Service StimulSoft Report Object???
Hello.
It's not necessary to call Compile() method exactly before Render() method. It will be called automatically.
Thank you.
It's not necessary to call Compile() method exactly before Render() method. It will be called automatically.
Thank you.
Re: Web Service StimulSoft Report Object???
Thank You
Aleksey for your best support!!!

Re: Web Service StimulSoft Report Object???
Hello,
We are happy to help you.
Have a nice day!
We are happy to help you.
Have a nice day!