Articles in this section

Paginating HTML Content Across Multiple Pages in Bold Reports

Published:
Updated:

When generating reports that contain large amounts of HTML content, you may need the content to span multiple pages while maintaining consistent report headers and footers.

Note: Using the standalone HTML report item for lengthy HTML content is not recommended when content must span multiple pages. It can lead to content truncation, content being pushed to subsequent pages unexpectedly, or inconsistent pagination behavior, because the HTML report item does not support dynamic content growth across pages.

Info: The HTML report item does not support content growth and pagination in the same manner. For reliable pagination, render the HTML inside a Textbox or Tablix cell using MarkupType = HTML.


Common Prerequisite (Applies to All Methods)

  • Render HTML inside a Textbox or Tablix cell
  • Configure the report item as follows:
    • MarkupType = HTML
    • CanGrow = True

image.png

image.png


Method 1: Natural Pagination Using a Report Parameter

Steps

  1. Create a Report Parameter of type Text
  2. Assign the parameter an HTML string
  3. Bind the Textbox value using the following expression:
=Parameters!HtmlContent.Value

Result

  • HTML content flows naturally across multiple pages
  • Report headers and footers repeat automatically

image.png


Method 2: Natural Pagination Using a Dataset Field

Steps

  1. Create a dataset that returns a single row containing an HTML column
  2. Bind the HTML field to a Textbox or Tablix cell

Result

  • Long HTML content spans multiple pages automatically
  • Report headers and footers repeat automatically

image.png


Advanced: Chapter-Style Pagination with Page Names

Use this approach when each HTML section should begin on a separate page.

Steps

  1. Create a dataset containing one row per HTML section
  2. Insert a List bound to the dataset
  3. Place a Rectangle inside the List
  4. Insert the HTML Textbox inside the Rectangle
  5. Configure the Rectangle with the following settings:
    • Page BreakAfter
    • PageName → Expression (for example, the section title)

Result

  • Each section starts on a new page
  • HTML within a section can continue across additional pages if required
  • Page names are applied during export (for example, as Excel worksheet names)
  • Report headers and footers repeat automatically

image.png

Screen+Recording+2026-07-28+172400.gif


Important Constraints

Warning:

  • Page breaks cannot be applied inside HTML markup
  • CSS page-break rules are ignored
  • Pagination must be configured at the report item level, on one of the following:
    • Rectangle
    • List
    • Tablix Group
  • Textboxes alone do not provide explicit page-break controls

Pagination must always be configured at the report item level.

Was this article useful?
Like
Dislike
Help us improve this page
Please provide feedback or comments
Comments (0)
Access denied
Access denied