public ActionResult DocumentViewerPartialExport() { CategoriesReport report = new CategoriesReport(); report.DataSource = Category.GetCategories(); return(ReportViewerExtension.ExportTo(report)); }
public ActionResult ExportDocumentViewer() { AssetDbContext Context = new AssetDbContext(); string id = Session["Uid"].ToString(); var pro = Context.customer_services.Where(x => x.Uid.ToString() == id).ToList(); XtraReport1 report = new XtraReport1(); report.DataSource = pro; return(ReportViewerExtension.ExportTo(report)); }
/// <summary> /// Patients the score range export report builder viewer. /// </summary> /// <param name="reportName">Name of the report.</param> /// <param name="parameters">The parameters.</param> /// <returns>Returns a Task as type ActionResult.</returns> public async Task <ActionResult> PatientScoreRangeExportReportBuilderViewer(string reportName, PatientScoreRangeParametersDto parameters) { var requestDispatcher = CreateAsyncRequestDispatcher(); requestDispatcher.Add(new GetPatientScoreRangeReportRequest { PatientScoreRangeParametersDto = parameters }); var response = await requestDispatcher.GetAsync <GetReportResponse> (); return(ReportViewerExtension.ExportTo((XtraReport)response.Report)); }
/// <summary> /// Exports the report viewer. /// </summary> /// <param name="key">The key.</param> /// <param name="reportName">Name of the report.</param> /// <returns> /// A <see cref="ActionResult" />. /// </returns> public async Task <ActionResult> ExportReportViewer(Guid key, string reportName) { var requestDispatcher = CreateAsyncRequestDispatcher(); requestDispatcher.Add(new GetReportRequest { SourceKey = key, ReportName = reportName }); var response = await requestDispatcher.GetAsync <GetReportResponse> (); return(ReportViewerExtension.ExportTo((XtraReport)response.Report)); }
/// <summary> /// Nots the completed assessment export report builder viewer. /// </summary> /// <param name="reportName">Name of the report.</param> /// <param name="parameters">The parameters.</param> /// <returns>Returns a Task as type ActionResult.</returns> public async Task <ActionResult> NotCompletedAssessmentExportReportBuilderViewer(string reportName, NotCompletedAssessmentParametersDto parameters) { parameters.OrganizationKey = UserContext.Current.OrganizationKey; var requestDispatcher = CreateAsyncRequestDispatcher(); requestDispatcher.Add(new GetNotCompletedAssessmentReportRequest { NotCompletedAssessmentParametersDto = parameters }); var response = await requestDispatcher.GetAsync <GetReportResponse> (); return(ReportViewerExtension.ExportTo((XtraReport)response.Report)); }
private async Task <ActionResult> PatientsWithSpecificResponseAndAcrossAssessmentsExport(string reportName, PatientsWithSpecificResponseParametersDto parameters) { var requestDispatcher = CreateAsyncRequestDispatcher(); ViewData["ReportName"] = reportName; parameters.ReportName = reportName; parameters.Responses = JsonConvert.DeserializeObject <List <QuestionResponse> > (parameters.JsonResponse); parameters.OrganizationKey = UserContext.Current.OrganizationKey; requestDispatcher.Add(new GetPatientsWithSpecificResponseReportRequest { PatientsWithSpecificResponseParametersDto = parameters }); var response = await requestDispatcher.GetAsync <GetReportResponse> (); return(ReportViewerExtension.ExportTo((XtraReport)response.Report)); }
public ActionResult ReportViewerExportTo(string reportID) { return(ReportViewerExtension.ExportTo(ReportDemoHelper.CreateModel(reportID).Report)); }
public ActionResult ExportReportViewer(int promotionId) { return(ReportViewerExtension.ExportTo(GetReport(promotionId))); }
public ActionResult DocumentViewerExport() { ProductsByCategoriesReport report = new ProductsByCategoriesReport(); return(ReportViewerExtension.ExportTo(report)); }
public ActionResult ShelterDetailExport() { return(ReportViewerExtension.ExportTo(new ShelterDetail())); }
public ActionResult ItemStockExport() { return(ReportViewerExtension.ExportTo(new ItemsStock())); }
public ActionResult ReportViewerExportTo(BlockModelCompareViewModel m) { return(ReportViewerExtension.ExportTo(AllReports.CreateModel(m).Report)); }
public ActionResult QueriesReportViewerExportTo() { return(ReportViewerExtension.ExportTo(GetQueriesReport())); }
public ActionResult PatientsReportViewerExportTo() { return(ReportViewerExtension.ExportTo(GetPatientsReport())); }