New to Telerik Reporting? Download free 30-day trial

How to Add a Table of Contents to Report Book

You can add a table of contents to the report book and click on entries in the table of contents to jump to specific areas within any report.

The TocReportSource should be a dedicated Report that contains significant information only in its TOC section. Including other content in this Report may result in an unexpected behavior as incorrectly ordered sections and wrong page numbering.

Adding a table of contents to a Report Book

  1. Create a new report, add a TOC section to it, and configure its Title, Levels, and Styles as described in the Overview article. This special purpose report with its TOC section will be used to display the TOC entries from all of the reports in the Report Book.
  2. Tell the Report Book that it needs to use the specially created TOC report in step 1 to display its Table of Contents. This is achieved by setting the TocReportSource property of the Report Book. In Visual Studio you can set the property using the Report Book designer (double-click on your Report Book class) or programmatically. In Standalone Report Designer you can set the TOC report source by clicking the corresponding button from the top menu. You need to use a suitable report source in this step. For more information please see Report Sources Overview.
  3. Configure where the TOC will appear in the Report Book. You can choose to position it before all of the reports or after them by setting the TocPosition property.

See Also

In this article