preview and run was diffrent

Stimulsoft Reports.WPF discussion
Post Reply
fanhoucheng
Posts: 2
Joined: Thu Aug 05, 2010 8:56 pm

preview and run was diffrent

Post by fanhoucheng »

when I test the [Master-Detail] demo.when I design the mrt file ,I found preview and run was diffrent.

preview is correctlly,how can it be correctlly when run it

1. add this code in print events:
if (Categories.CategoryName== "Beverages") this.DataBand2.Enabled = false;
else this.DataBand2.Enabled = true;
2. preview it,it's works ok(because of the data of "Beverages" is not show)
3 save it ,and run it in demo,it's works failed(because of the data of "Beverages" is still show)

Attachments
633.preview and run was diffrent.xls
(387.5 KiB) Downloaded 218 times
Alex K.
Posts: 6488
Joined: Thu Jul 29, 2010 2:37 am

preview and run was diffrent

Post by Alex K. »

Hello,

In this case load already compiled a report, it is a problem WPF Property Grid, and at this point it is impossible to fix. You can slightly change the contents of a text component or change its size, so that-be able to recompile the report.

Thank you.
Post Reply