Changing CanBreak doesn't trigger update of ReportChanged

Stimulsoft Reports.NET discussion
Post Reply
Tobias
Posts: 104
Joined: Mon Nov 24, 2008 8:44 am

Changing CanBreak doesn't trigger update of ReportChanged

Post 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.
Alex K.
Posts: 6488
Joined: Thu Jul 29, 2010 2:37 am

Re: Changing CanBreak doesn't trigger update of ReportChange

Post 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.
Tobias
Posts: 104
Joined: Mon Nov 24, 2008 8:44 am

Re: Changing CanBreak doesn't trigger update of ReportChange

Post 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.
Alex K.
Posts: 6488
Joined: Thu Jul 29, 2010 2:37 am

Re: Changing CanBreak doesn't trigger update of ReportChange

Post 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.
Tobias
Posts: 104
Joined: Mon Nov 24, 2008 8:44 am

Re: Changing CanBreak doesn't trigger update of ReportChange

Post by Tobias »

Great! Please check if this might also be the case for other properties.
Alex K.
Posts: 6488
Joined: Thu Jul 29, 2010 2:37 am

Re: Changing CanBreak doesn't trigger update of ReportChange

Post by Alex K. »

Hello

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

Thank you.
Post Reply