public PartialViewResult ReportViewerPartial(int promotionId) { PromotionModel.ExportModel model = new PromotionModel.ExportModel() { PromotionId = promotionId, Report = GetReport(promotionId) }; return(PartialView(model)); }
public ActionResult Export(int promotionId) { PromotionModel.ExportModel model = new PromotionModel.ExportModel() { PromotionId = promotionId, Report = new XtraReport() }; return(View("Print", model)); }