Problems when previewing data
Posted: Mon Jul 25, 2011 4:03 pm
Hi,
I am populating the business objects asynchronously. However I am having a few problems.
A) StiOptions.Engine.GlobalEvents.PreviewingReportInDesigner event does not seem to fire. Therefore I am having to use StiOptions.Engine.GlobalEvents.ReportRendering
I am populating the business objects asynchronously. However I am having a few problems.
A) StiOptions.Engine.GlobalEvents.PreviewingReportInDesigner event does not seem to fire. Therefore I am having to use StiOptions.Engine.GlobalEvents.ReportRendering
B) Having used flags and the report rending event my next problem is refreshing the window once the data has been retrieved. this.InvokeRefreshViewer(), this.Render() or combination do not seem to refresh the preview window. However if I go back into designer (clicking the button) and then click on preview again the data is displayed. So it would seem I need a method to refresh the preview window in the designer when the data has been retireved.public sealed class TimeNavigationReport : StiReport
{
public TimeNavigationReport()
{
StiOptions.Engine.GlobalEvents.PreviewingReportInDesigner += GlobalEventsReportPreviewing
}
}