void loadReportButton_Click(object sender, RoutedEventArgs e) { ReportPreviewModel model = new ReportPreviewModel { ServiceUri = "../DemoReportService.svc", ReportName = "EUDReport" }; preview.Model = model; model.CreateDocument(); }
public MainPage() { ThemeManager.ApplicationThemeName = "Office2007Black"; InitializeComponent(); ReportPreviewModel model = new ReportPreviewModel("../ReportService.svc"); model.ReportName = "CustomizeParameterEditorSample.Web.OrdersReport"; model.CustomizeParameterEditors += model_CustomizeParameterEditors; preview.Model = model; model.CreateDocument(); }
void InitializeReport() { ReportPreviewModel model = new ReportPreviewModel("../ReportService1.svc"); model.ReportName = "E3428.Web.XtraReport1"; documentPreview1.Model = model; // set Default Parameter value on the client-side model.Parameters["OrderId"].Value = 10248; model.CreateDocument(); }
void ShowProducts() { var model = new ReportPreviewModel { ServiceUri = "../ReportService.svc", ReportName = "Reports.ProductReport" }; var window = new DocumentPreviewWindow { Model = model }; window.Show(); model.CreateDocument(); }