How to: Create a Document Map (Visual Studio Report Designer)

A document map is navigation pane that is generated at run time from labels you configure in a report definition. You can create a document map to provide navigation in a report that you run in a ReportViewer control.

To add a text box to a document map

  1. Open a client report definition (.rdlc) file in graphical design mode.

  2. Right-click the text box that you want to add to the document map and then click Properties.

  3. In Document map label, type or select a label or an expression that evaluates to a label. The label or the value of the expression appears in the document map.

To add other report items to a document map

  1. Right-click the report item that you want to add to the document map and then click Properties.

  2. On the Navigation tab, for Document map label, type or select a label or an expression that evaluates to a label. The label or the value of the expression appears in the document map.

To add a table or matrix group to a document map

  1. Click the table of matrix so that column and row handles appear above and next to the table or matrix.

  2. Right-click the corner handle of the table or matrix, and then click Properties.

  3. On the Groups tab, select the group to edit, and then click Edit.

  4. On the General tab, for Document map label, type or select a label or an expression that evaluates to a label. The label or the value of the expression appears in the document map.

    Note

    Matrix column groups cannot have document map labels. Only row groups can have a label.

To add a list group to a document map

  1. Right-click the list and then click Properties.

  2. On the General tab, click Edit details group.

  3. In the Details Grouping dialog box, on the General tab, for Document map label, type or select a label or an expression that evaluates to a label. The label or the value of the expression appears in the document map.

See Also

Tasks

How to: Create a Bookmark (Visual Studio Report Designer)

Concepts

Adding Interactivity, Visibility, and Navigation to a Report (Visual Studio Report Designer)