///############################################################ /// <summary> /// Outputs the detail and missing record sections (as required) of the rendered page. /// </summary> /// <param name="oCurrentTable">PaginationTable object representing the relevant record IDs for the current table index.</param> ///############################################################ /// <LastUpdated>June 22, 2010</LastUpdated> protected override void DoRenderBody(Pagination.PaginationTable oCurrentTable) { int i; //#### Traverse the .IDs for the oCurrentTable for (i = 0; i < oCurrentTable.IDs.Length; i++) { //#### Inc g_iRecordCount (this is not used as the loop's iterater as it keeps track of the .RenderedRecordCount across all of the results entries) g_iRecordCount++; //#### If this .ID was successfully collected within .CollectPageResults if (oCurrentTable.CollectedID(i)) { //#### If we're in .Printable mode, .Calculate(the)PageCrawl for the .Detail if (Printable) { CalculatePageCrawl(this, ref g_bInitialDetailCall, PrintLength(enumPageSections.cnDetail)); } //#### Inc g_iTableRecordIndex and call our .Detail g_iTableRecordIndex++; Detail(); } //#### Else this .ID was not successfully collected within .CollectPageResults else { //#### If we're in .Printable mode, .Calculate(the)PageCrawl for the .MissingRecord if (Printable) { CalculatePageCrawl(this, ref g_bInitialDetailCall, PrintLength(enumPageSections.cnMissingRecord)); } //#### Call our .MissingRecord MissingRecord(oCurrentTable.TableName, oCurrentTable.IDs[i]); } } }
///############################################################ /// <summary> /// Outputs the detail and missing record sections (as required) of the rendered page. /// </summary> /// <param name="oCurrentTable">PaginationTable object representing the relevant record IDs for the current table index.</param> ///############################################################ /// <LastUpdated>November 13, 2009</LastUpdated> protected override void DoRenderBody(Pagination.PaginationTable oCurrentTable) { //#### .Render the returned object from the .Body call (which will be either a .cnList or .cnForm) Body(oCurrentTable.TableName, oCurrentTable.IDColumn).Render(oCurrentTable); }