public static void AddDetailCellToCurrentPage(AspNetCore.ReportingServices.OnDemandReportRendering.Tablix tablix, int colMemberIndexCell, int rowMemberIndexCell, PageContext context, bool useForPageHFEval, Interactivity interactivity) { if (rowMemberIndexCell >= 0) { TablixRowCollection rowCollection = tablix.Body.RowCollection; TablixCell tablixCell = ((ReportElementCollectionBase <TablixCell>)((ReportElementCollectionBase <TablixRow>)rowCollection)[rowMemberIndexCell])[colMemberIndexCell]; if (tablixCell != null && tablixCell.CellContents != null) { RegisterItem.RegisterHiddenItem(tablixCell.CellContents.ReportItem, context, useForPageHFEval, interactivity); } } }
private static void CollectDetailCellContents(AspNetCore.ReportingServices.OnDemandReportRendering.Tablix tablix, int colMemberIndexCell, int rowMemberIndexCell, PageContext context, bool useForPageHFEval, Dictionary <string, List <object> > textBoxes) { if (rowMemberIndexCell >= 0) { TablixRowCollection rowCollection = tablix.Body.RowCollection; TablixCell tablixCell = ((ReportElementCollectionBase <TablixCell>)((ReportElementCollectionBase <TablixRow>)rowCollection)[rowMemberIndexCell])[colMemberIndexCell]; if (tablixCell != null && tablixCell.CellContents != null) { HeaderFooterEval.CollectTextBoxes(tablixCell.CellContents.ReportItem, context, useForPageHFEval, textBoxes); } } }