Hi,
i'm working on Solution with some 'Modules' (Prism) for example Projects, Employees and so on.
My idea is now to store Reports in the Moduls (Project-Reports in ProjectsModul)
Now im looking for a way to have only one global available UserControl with the ReportViewer.
Is there any idea how to pass the selected Report and Parameters etc to the ViewModel of this UserControl and run a report.
Thanks in advance
Peter
Hi,
me agian.
I bring your example to work....
Now there is the next problem, i have my Data with EntityFramework and i'm looking for a way to set the DataSource of the report the same way as the ReportNae in your example. So, in my Module i can load the entity, fill the Dataset, select a Report and raise a event wich is catched in my PrintModul.
Thanks
Peter