How to use StiWpfViewerControl ?

Stimulsoft Reports.WPF discussion
Post Reply
zebulon303
Posts: 2
Joined: Fri Aug 14, 2009 2:41 pm

How to use StiWpfViewerControl ?

Post 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.
Jan
Posts: 1265
Joined: Thu Feb 19, 2009 8:19 am

How to use StiWpfViewerControl ?

Post by Jan »

Hello,

Please call RenderWithWpf method of StiReport.

Thank you.
Post Reply