Page 1 of 2

My preview is broken

Posted: Thu Feb 19, 2009 2:09 pm
by patwolf
Hi,

ok I set up the report in code and then call:
report.Show();
The report renders but then shows an empty preview window. It even says page 1 of 36 and the slider bars on the side have the size that they would fit 36 pages but there is no page displayed at all just a blue background.

If I call report.Design();
and then press preview everything works fine.

Any idea of what this could be?

Thanks,
Patrick


My preview is broken

Posted: Fri Feb 20, 2009 10:08 am
by Edward
Hi Patrick,

It is difficult to say something definite.

That we would do in this case is to call the following command for both cases:

report.Save("myReport.mrt") before and after calling the designer.

Then we would compare these files using the following utility:

http://downloads.sourceforge.net/winmer ... -Setup.exe

Thank you.

My preview is broken

Posted: Fri Feb 20, 2009 1:27 pm
by patwolf
I saved both the preview and design one before and after I called report.Design() / report.Show() and there is no difference to be found in any of them.

By the way the report.Show() doesn't work at all anymore... The progress bar for report generations comes and then closes again and then the code just hangs on report.Show() for hours...

This all only happened after upgrading to the latest version by the way.. So maybe I need to go back to an older version.

Thanks,
Patrick

My preview is broken

Posted: Fri Feb 20, 2009 4:10 pm
by Vital
Hello,

Please check latest build.

Thank you.

My preview is broken

Posted: Fri Feb 20, 2009 4:22 pm
by patwolf
Vital wrote:Please check latest build.
The only difference between mine 9.Feb and the latest build is:
16 Feb 2009
Add: Now HTML tags can be used in exports to PDF, HTML and Rtf as a text.
Fix: Control symbols are displayed correctly in EAN128a, EAN128b.
Fix: Some corrections in the Chart Styles.

So that shouldn't really make a difference.

Thanks,
Patrick

My preview is broken

Posted: Fri Feb 20, 2009 4:25 pm
by Jan
Hello Patrick,

Please check latest build. Not all changes and fixes displayed in changes topics.

Thank you.


My preview is broken

Posted: Mon Feb 23, 2009 6:14 pm
by patwolf
Jan wrote:Please check latest build. Not all changes and fixes displayed in changes topics.
Ok I upgraded but the problem is still the same.

Thank you,
Patrick

My preview is broken

Posted: Wed Feb 25, 2009 12:51 pm
by Jan
Hello Patrick,

Please check following code:

Code: Select all

report.Render(false);
report.Show();
Let me know about results.

This problem occurs for any reports or for all?


Thank you.

My preview is broken

Posted: Wed Feb 25, 2009 2:22 pm
by patwolf
Hi,

very sorry the problem had nothing to do with you :)

I used this code to cleanup the cache after showing the report...
report.Show();
ReportManager.CleanupReportResources(report);

but report.Show() continues before the preview is closed so all pages were deleted before they could be shown :(...
This one only continues after the preview is closed and works correctly now:
report.Show(this.Parent.Parent);
ReportManager.CleanupReportResources(report);

Thanks,
Patrick

My preview is broken

Posted: Wed Feb 25, 2009 3:06 pm
by Jan
Hello Patrick,

Please check your EMail.

Thank you.