Page 1 of 1

fine preview nothing in export

Posted: Mon Jul 20, 2009 3:49 am
by kocka
Hi Stimulsoft,

I have some problem with version 2009.1. I have report rendered this way:

......
foreach (StiPage page in report2.RenderedPages)
{
report1.RenderedPages.Add(page);
page.Report = report1;
}
....

report1.Show(); //generates fine preview

but

report1.Export(...) //generates only blank response, blank response is also generated if I export report through menu in preview

what is wrong? When I change reference assemblies to previous version all is fine.
Thanks Pavel

fine preview nothing in export

Posted: Tue Jul 21, 2009 3:11 am
by kocka
Problem was there:

report1.ReportCacheMode = StiReportCacheMode.On;
report1..ReportCachePath = System.IO.Path.GetTempPath();

Problem was in EngineV2. EngineV1 generated report but ended in other bug (index out of range).

Pavel

fine preview nothing in export

Posted: Tue Jul 21, 2009 3:25 am
by Ivan
Hello,
kocka wrote: I have some problem with version 2009.1. I have report rendered this way:

report1.Show(); //generates fine preview
report1.Export(...) //generates only blank response, blank response is also generated if I export report through menu in preview

what is wrong? When I change reference assemblies to previous version all is fine.
Can you send to us the simple test application, which reproduce the issue?

Thank you.