Changes in the behavior of the Click-Event
Posted: Mon Apr 29, 2019 1:27 pm
Hello.
the new Version of Stimulsoft Report Engine (2019.2.3.0) has some changes concerning the availability of Data from Datasources from Code. Using the Render-Event of a report, I am able to display the value of a property from a datasource by showing it in a MessageBox. In former versions, it was possible to do the same using the Click-Event-Handler. That does not work anymore. If I try to display the value of a datasource property inside a Click-Event-Handler in the new Version, the result is always empty or 0 independent of the actual value.
I have provided a simple Sample-project to demonstrate the problem.
This change in behavior breaks a lot of my code. Is this a bug? If not, do you have any suggestions on how to handle this problem?
Best regards,
the new Version of Stimulsoft Report Engine (2019.2.3.0) has some changes concerning the availability of Data from Datasources from Code. Using the Render-Event of a report, I am able to display the value of a property from a datasource by showing it in a MessageBox. In former versions, it was possible to do the same using the Click-Event-Handler. That does not work anymore. If I try to display the value of a datasource property inside a Click-Event-Handler in the new Version, the result is always empty or 0 independent of the actual value.
I have provided a simple Sample-project to demonstrate the problem.
This change in behavior breaks a lot of my code. Is this a bug? If not, do you have any suggestions on how to handle this problem?
Best regards,