protected void btnPDF2_Click(object sender, System.Web.UI.ImageClickEventArgs e) { JqGridMonthlyReport.ExportSettings.ExportDataRange = ExportDataRange.All; var dt = JqGridMonthlyReport.GetExportData(); ExportToPDF(dt); }
private void BindRowToDataTableMonthlyReport(List <HotelDataEntryLib.Helper.Report> listReport) { JqGridMonthlyReport.DataSource = listReport; CalculateMonthlyTotal(listReport); JqGridMonthlyReport.ToolBarSettings.ToolBarPosition = ToolBarPosition.Hidden; JqGridMonthlyReport.DataBind(); }
protected void btnExcel2_Click(object sender, System.Web.UI.ImageClickEventArgs e) { JqGridMonthlyReport.ExportSettings.ExportDataRange = ExportDataRange.All; JqGridMonthlyReport.ExportToExcel("report.xls"); }