[]
        
(Showing Draft Content)

Overflow Placeholder

The Overflow Placeholder control is available only in the Page report. It is a rectangular placeholder for data that does not fit inside the fixed size of a List, Banded List, Tablix, or Table data region. The fixed-size page layout does not allow to change sizes based on the data in the fixed page layout. In this case, you can link a data region to an Overflow Placeholder; the control gets its Size property values from the FixedSize of the data region it is linked with. So, data that overflows the fixed size of your tables or other data regions can span pages, but you control the layout of each page and specify where the overflow data goes with a placeholder.

Using Overflow Placeholder Control in a Report Designer

This section describes how to use an Overflow Placeholder control in a report.

  • You can bind the overflow data from a data region to an Overflow Placeholder control.

  • You can place multiple Overflow Placeholder controls in a report to create different looks for your report output. If you are using multiple Overflow Placeholder controls, then you should link a data region to an Overflow Placeholder control and then link that Overflow Placeholder control to another Overflow Placeholder control. Two common layouts that you can create are:

    • Columnar Report Layout: Place the data region and the Overflow Placeholder on the same page of the report to create a layout that displays data in a columnar format.
    • Multiple Page Layout: Place the data region on the first page of the report and Overflow Placeholder controls on subsequent pages to create a layout with overflow data on multiple pages.

Properties Tab

You can set the Overflow Placeholder control appearance by setting properties in the Properties tab.

Overflow Placeholder Properties

Listed below are the common properties.

Property Section Property Description
Common
  • Name: Sets the name of the selected Overflow Placeholder control.
  • Overflow Name: This sets the linking of one Overflow Placeholder control to another. You can select the Overflow Placeholder control to be linked from the dropdown list.
Dimensions This sets the location and size of the Overflow Placeholder.
  • Left: This option sets the landscape position of the Overflow Placeholder to be maintained from the upper left side in the report.
  • Top: This option sets the vertical position of the Overflow Placeholder to be maintained from the top in the report.
  • Width: This option sets the width of the Overflow Placeholder.
  • Height: This option sets the height of the Overflow Placeholder.
Layout This sets the Overflow Placeholder layout in a report as a whole.
  • Layer Name: Sets the report layer.

Example for Columnar Report Layout
In the below example, we will take a blank page report, add a table control to it and bind it to a dataset. Then we will add an Overflow Placeholder control (Say Control 1) and link the table to this Overflow Placeholder control ( control 1). Then we will add another Overflow Placeholder control (Say Control 2) and link the Overflow Placeholder control (control 1) to another Overflow Placeholder (control 2) and so on. Below are the steps to create a columnar report.

  1. In the Document Portal, select Create > Create Report to create a new report.

  2. In the Choose Template dialog box that appears, select the Blank Page Report, and click Create Report button.

    Select Blank Page Report

  3. From the Report Toolbox on the left, either drag and drop the Table control onto the design area or left click the control.

    Drag Table Control

    Set the Fixed Width and Fixed Height Size = 3.0834in, 1.5521in.

    Fixed Size of Table

  4. Bind the table to a dataset. In this example, we have taken the TechnologyDataset.

  5. Now add an Overflow Placeholder control (Let us say, OverFlowPlaceHolder1).

    Drag Overflow Placeholder Control

    Drag the OverflowPlaceHolder1 control on the right side of the table and from the Properties window, set the Size = 3.0834in, 1.5521in (same as FixedSize of the table).

    Fix Overflow Placeholder Size

  6. Link the Table data region to the Overflow Placeholder control (OverFlowPlaceHolder1)

    • Select the Table data region and from the Properties window, set the following properties:
      • RepeatHeaderOnNewPage = True (This is the table header to repeat on each page as well as inside the Overflow Placeholder)
      • OverflowName = OverFlowPlaceHolder1

    Link Table to Overflow Placeholder1

  7. Now add other Overflow Placeholder controls, say: Overflow Placeholder2, Overflow Placeholder3.

  8. Link Overflow Placeholders (1, 2, and 3) with each other.

    • Select the Overflow Placeholder1 and set the OverflowName = OverFlowPlaceHolder2

    Link Overflow Placeholder1 to Overflow Placeholder2

    • Now align the OverflowPlaceHolder2 control and in the Properties window, set its properties as follows.

      • Size = 3.0834in, 1.5521in (same as FixedSize of the table).
      • OverflowName = OverFlowPlaceHolder3
    • Now align the OverflowPlaceHolder3 control and in the Properties window, set its properties as follows.

      • Size = 3.0834in, 1.5521in (same as FixedSize of the table).
      • OverflowName = OverFlowPlaceHolder4
  9. Add a TextBox control on the top to give the heading of the report and format it.
    The report in the design view will look similar to the one as shown below.

    Report Design View

  10. Click the Preview button to preview the report. The report will look similar to the one as shown below.

    Report Design View

You can add more Overflow Placeholder controls and create different layouts.