i use the StiWpfViewerControl like this:
Code: Select all
<wpfViewer:StiWpfViewerControl Grid.Row="1" Report="{Binding StiReport}" ReportOpenVisibility="Collapsed"/>
Code: Select all
var stiReport = (StiReport)_auftragManager.GetReport(SelectedReport.ReportDefinitionId, auftragPositionIds);
await stiReport.RenderAsync();
StiReport = stiReport;
thanks
Thomas