public void ShowPreview(string serviceUri, string reportName) { ReportServicePreviewModel model = new ReportServicePreviewModel(serviceUri); model.ReportName = reportName; DocumentPreviewWindow preview = new DocumentPreviewWindow() { Model = model }; model.CreateDocument(); preview.ShowDialog(); }
private void CategorySubmitted(object o) { _previewModel.Parameters["Category"].Value = Category; _previewModel.CreateDocument(); }