Page 1 of 1

Changing CanBreak doesn't trigger update of ReportChanged

Posted: Tue Sep 20, 2016 10:19 am
by Tobias
I'm doing the following when calling the designer:

Code: Select all

StiSavingObjectEventHandler saver = (sender, args) =>
{
    var designer = sender as StiDesignerControl;
    if (designer != null)
    {
        args.Processed = true;
    }
};

StiDesigner.SavingReport += saver;

try
{
    stiReport.Design();
}
finally
{
    StiDesigner.SavingReport -= saver;
}
After that I check if stiReport.ReportChanged has changed to update the report I store in a special file. For most of the changes I do in the designer this works fine. But when just changing the CanBreak property of a databand or a text field, ReportChanged does not get updated. This might be true for other properties too - haven't checked this.

Re: Changing CanBreak doesn't trigger update of ReportChange

Posted: Tue Sep 20, 2016 9:02 pm
by Alex K.
Hello,

We couldn't reproduce this bug. Please try to check the last prerelease build.

If the issue still present, please send us a simple project which reproduces the issues for analysis.

Thank you.

Re: Changing CanBreak doesn't trigger update of ReportChange

Posted: Wed Sep 21, 2016 11:01 am
by Tobias
I can still reproduce this with the latest prerelease.

Please see the sample project:


If you open the designer and just change the CanBreak property of the databand, then ReportChanged does not get updated.

Re: Changing CanBreak doesn't trigger update of ReportChange

Posted: Wed Sep 21, 2016 2:53 pm
by Alex K.
Hello,

Thank you for the sample.
We have reproduced the issue if set this property from the Property grid.

The issue is fixed. Will be available in the next build.

Thank you.

Re: Changing CanBreak doesn't trigger update of ReportChange

Posted: Wed Sep 21, 2016 3:00 pm
by Tobias
Great! Please check if this might also be the case for other properties.

Re: Changing CanBreak doesn't trigger update of ReportChange

Posted: Wed Sep 21, 2016 8:24 pm
by Alex K.
Hello

Ok.
Let us know if you need any additional help.

Thank you.