Page 1 of 1

How to use StiWpfViewerControl ?

Posted: Tue Aug 18, 2009 3:10 am
by zebulon303
I have made a report which is displayed correctly using Report.ShowWithWpf();

But now, I need to put the report inside my app, so I was thinking to use StiWpfViewerControl in Xaml:








and then reference the viewer in my code:

viewer.Report = <the report I have compiled and displayed using ShowWithWpf()));
and then what
viewer.Refresh(); ?

At the moment the report is displayed but is empty ? How should I proceed ?

Thank you.

How to use StiWpfViewerControl ?

Posted: Tue Aug 18, 2009 7:40 am
by Jan
Hello,

Please call RenderWithWpf method of StiReport.

Thank you.