This is a migrated thread and some comments may be shown as answers.

Using Telerik Reporting in Prism MVVM

1 Answer 80 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Kenneth
Top achievements
Rank 1
Kenneth asked on 22 Jun 2018, 11:17 PM

I am trying to use Telerik Reporting in a WPF application based on the Prism MVVM platform.  After much trial an error, I was able to get the report viewer to display the report but could not get the report a second time without closing the window and reopening it.

In Prism, there can only be one Window control, so I had to change the report viewer to a UserControl. 

Has anyone been able to get this to work reliably in Prism?

1 Answer, 1 is accepted

Sort by
0
Silviya
Telerik team
answered on 27 Jun 2018, 03:38 PM
Hi Kenneth,

We are not aware of any specific issues in Prism applications and have not experimented with integrating our WPF viewer into this type of applications. In general, WPF report viewer is an ordinary WPF NoXaml control and its setup will be similar to the rest of the WPF controls.

The steps to setup the viewer are provided in WPF Report Viewer Manual Setup. One of the required steps is to merge ResourceDictionaries in the App.xaml file. Looking at sample Prism applications provided in open-source communities, I see that they have App.xaml at the root level.

Regards,
Silviya
Progress Telerik
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
Tags
General Discussions
Asked by
Kenneth
Top achievements
Rank 1
Answers by
Silviya
Telerik team
Share this question
or