Search results
Suggest a FeaturePDF

Toolbar custom properties

This topic explains the list of toolbar custom properties that are supported to render in the ASP.NET Core Report Viewer.

Show or hide print button in toolbar

The ShowPrintButton custom property is used to show or hide the print button in the toolbar. You can set the ShowPrintButton property value, as shown below.

Shows configuration of ShowPrintButton property in custom property dialog

Before setting the ShowPrintButton property, the print button will be displayed in the toolbar as shown below.

Preview of print button in toolbar in Report Viewer

Preview the report and see that the print button is hidden in the toolbar.

Preview of print button is hidden in toolbar in Report Viewer

Show or hide refresh button in toolbar

The ShowRefreshButton custom property is used to show or hide the refresh button in the toolbar. You can set the ShowRefreshButton property value, as shown below.

Shows configuration of ShowRefreshButton property in custom property dialog

Before setting the ShowRefreshButton property, the refresh button will be displayed in the toolbar as shown below.

Preview of refresh button in toolbar in Report Viewer

Preview the report and see that the refresh button is hidden in the toolbar.

Preview of refresh button hidden in toolbar in Report Viewer

Show or hide find button in toolbar

The ShowFindButton custom property is used to show or hide the find button in the toolbar. You can set the ShowFindButton property value, as shown below.

Shows configuration of ShowFindButton property in custom property dialog

Before setting the ShowFindButton property, the find button will be displayed in the toolbar as shown below.

Preview of find button in toolbar in Report Viewer

Preview the report and see that the find button is hidden in the toolbar.

Preview of find button hidden in toolbar in Report Viewer

Show or hide zoom controls in toolbar

The ShowZoomControl custom property is used to show or hide the zoom controls in the toolbar. You can set the ShowZoomControl property value, as shown below.

Shows configuration of ShowZoomControl property in custom property dialog

Before setting the ShowZoomControl property, the zoom control will be displayed in the toolbar as shown below.

Preview of zoom control in toolbar in Report Viewer

Preview the report and see that the zoom control is hidden in the toolbar.

Preview of zoom control hidden in toolbar in Report Viewer

Show or hide export controls in toolbar

The ShowExportControls custom property is used to show or hide the export controls (such as PDF, Excel, Word, etc.) in the toolbar. You can set the ShowExportControls property value, as shown below.

Shows configuration of ShowExportControls property in custom property dialog

Before setting the ShowExportControls property, the export controls will be displayed in the toolbar as shown below.

Preview of export controls in toolbar in Report Viewer

Preview the report and see that the export controls are hidden in the toolbar.

Preview of refresh button hidden in toolbar in Report Viewer

Show or hide print page setup in toolbar

The ShowPrintPageSetupButton custom property controls the visibility of the print page setup button in the toolbar in Classic View. You can configure the ShowPrintPageSetupButton property as shown below.

Shows configuration of ShowPrintPageSetupButton property in custom property dialog

Before setting the ShowPrintPageSetupButton property, the print page setup will be displayed in the toolbar as shown below.

Preview of print page setup in toolbar in Report Viewer

Preview the report and see that the print page setup is hidden in the toolbar.

Preview of print page setup hidden in toolbar in Report Viewer

Show or hide performance metrics button

The ShowPerformanceMetricsButton custom property controls the visibility of the performance metrics button. You can configure the ShowPerformanceMetricsButton property as shown below.

Shows configuration of ShowPerformanceMetricsButton property in custom property dialog

Before setting the ShowPerformanceMetricsButton property, the performance metrics button will be displayed as shown below.

Preview of performance metrics button in Report Viewer

Preview the report and see that the performance metrics button is hidden.

Preview of performance metrics hidden in toolbar in Report Viewer

Show or hide navigation controls

The ShowPageNavigationControls custom property allows you to show or hide the navigation controls. You can set the ShowPageNavigationControls property value, as shown below.

Shows configuration of ShowPageNavigationControls property in custom property dialog

Before setting the ShowPageNavigationControls property, the navigation controls will be displayed as shown below.

Preview of navigation controls in Report Viewer

Preview the report to see that the navigation controls are hidden.

Preview of navigation controls hidden in toolbar in Report Viewer

Show or hide print layout button

The ShowPreviewButton custom property allows you to show or hide the print layout button. You can set the ShowPreviewButton property value, as shown below.

Shows configuration of ShowPreviewButton property in custom property dialog

Before setting the ShowPreviewButton property, the print layout button is displayed as shown below.

Preview of print layout button in Report Viewer

Preview the report to see that the print layout button is hidden.

Preview of print layout button hidden in toolbar in Report Viewer

Show or hide document map button

The ShowDocumentMap custom property allows you to show or hide the document map button. You can set the ShowDocumentMap property value, as shown below.

Shows configuration of ShowDocumentMap property in custom property dialog

Before setting the ShowDocumentMap property, the document map button will not be displayed as shown below.

Preview of document map button in Report Viewer

Preview the report and see that the document map button is displayed.

Preview of document map button hidden in toolbar in Report Viewer