How to: Hide or Define Toggle Visibility on a Report Item (Visual Studio Report Designer)
You can specify visibility properties that determine whether an item on a report is visible or hidden. You can also configure toggle items that show or hide specific parts of a report.
To hide a report item
Open the client report definition (.rdlc) file in graphical design mode.
Right-click the report item and then click Properties.
On the Visibility tab, for Initial visibility, select Hidden.
To hide a table group or matrix group
Click the table or matrix so that column and row handles appear above and next to the table or matrix.
Right-click the corner handle of the table or matrix, and then click Properties.
On the Groups tab, select the group to edit, and then click Edit.
On the Visibility tab, for Initial visibility, select Hidden.
To toggle the visibility of a report item
Right-click the report item and then click Properties.
On the Visibility tab, do the following:
For Initial visibility, select Hidden.
Select Visibility can be toggled by another report item.
In Report item, type or select the name of the text box that users click to show the selected item. The value for Report item must be the name of a text box that is either in the same group as the item that is being hidden or in another group or item in the same grouping hierarchy.
To toggle the visibility of a table group or matrix group
In Layout view, click the table or matrix so that column and row handles appear above and next to the table or matrix.
Right-click the corner handle of the table or matrix, and then click Properties.
On the Groups tab, select the group to edit, and then click Edit.
On the Visibility tab, do the following:
For Initial visibility, select Hidden.
Select Visibility can be toggled by another report item.
In Report item, type or select the name of the text box that users click to show the selected item. The value for Report item must be the name of a text box that is either in the same group as the item that is being hidden or in another group or item in the same container hierarchy (up to and including the report body).
See Also
Concepts
Adding Interactivity, Visibility, and Navigation to a Report (Visual Studio Report Designer)
Configuring Subreports and Drillthrough Reports (Visual Studio Report Designer)