Hi!
I have a rendered report and I like to show this report now in full screen. (without rendering the Report again.)
My idea was to use the ChildWindow of the SL toolkit and replace the DataContext of the ReportViewer in the ChildWindow with the DataContext of my first ReportViewer.
Unfortunately it is not working. There is no error message, only the text "No Report".
Any ideas?
Thank you!
This is the Zoom Method that creates the ChildWindow, as a parameter I send the DataContext of my rendered report.
In the code behind of the ChildWindow I set the DataContext
I have a rendered report and I like to show this report now in full screen. (without rendering the Report again.)
My idea was to use the ChildWindow of the SL toolkit and replace the DataContext of the ReportViewer in the ChildWindow with the DataContext of my first ReportViewer.
Unfortunately it is not working. There is no error message, only the text "No Report".
Any ideas?
Thank you!
This is the Zoom Method that creates the ChildWindow, as a parameter I send the DataContext of my rendered report.
private void Zoom(object param)
{
ReportChildWindow reportChildWindow = new ReportChildWindow(this.ReportViewer.DataContext);
reportChildWindow.Show();
}
In the code behind of the ChildWindow I set the DataContext
public ReportChildWindow(object dataContext)
{
this.DataContext = dataContext;
InitializeComponent();
}