Problems when previewing data

Stimulsoft Reports.Silverlight discussion
Locked
MtheP
Posts: 24
Joined: Mon Jul 18, 2011 7:37 am

Problems when previewing data

Post by MtheP »

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
public sealed class TimeNavigationReport : StiReport
{
public TimeNavigationReport()
{
StiOptions.Engine.GlobalEvents.PreviewingReportInDesigner += GlobalEventsReportPreviewing
}
}
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.
Alex K.
Posts: 6488
Joined: Thu Jul 29, 2010 2:37 am

Problems when previewing data

Post by Alex K. »

Hello,
MtheP wrote:A) StiOptions.Engine.GlobalEvents.PreviewingReportInDesigner event does not seem to fire. Therefore I am having to use StiOptions.Engine.GlobalEvents.ReportRendering
We have connected the processing of the event StiOptions.Engine.GlobalEvents.PreviewingReportInDesigner in the Silverlight designer. It will be available in the prerelease build this week.
MtheP wrote: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.
We added the processing of the event InvokeRefreshViewer() in the viewer.
It will be available in the prerelease build this week.

Thank you.
MtheP
Posts: 24
Joined: Mon Jul 18, 2011 7:37 am

Problems when previewing data

Post by MtheP »

To all developers:-

This is what I call customer service

:biggrin:
Andrew
Posts: 4108
Joined: Fri Jun 09, 2006 3:58 am

Problems when previewing data

Post by Andrew »

Thank you! :blush:
Locked