Page 1 of 1

preview and run was diffrent

Posted: Fri Sep 24, 2010 11:39 pm
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)


preview and run was diffrent

Posted: Mon Sep 27, 2010 1:35 am
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.