Articles in this section

Hide the Parameter Icon in the Bold Reports Viewer

Published:
Updated:

Set the showparameterblock custom attribute to false in the Bold Reports Report Designer to hide the parameter icon in the Bold Reports Report Viewer toolbar. The attribute is available in Bold Reports Report Viewer v2.0 and later. Hiding the icon does not change the report’s behavior: any default parameter values you set still pass to the report when it loads.

Applies to: Bold Reports Report Designer, Bold Reports Report Viewer v2.0

When to use this

Use this guide when you want to remove the parameter icon from the Report Viewer toolbar so end users see a cleaner, more focused interface. Hiding the icon is a presentation change only: parameters configured in the report still apply.

Prerequisites

  • Bold Reports Report Designer (Web or Desktop) with permission to edit the report.
  • The report must be a Bold Reports RDL/RDLC file (.rdl) loaded in the Designer.
  • Bold Reports Report Viewer v2.0 or later on the application that hosts the report.
  • A Bold Reports Report Server to host and publish the report.

Steps

1. Open the Custom Attributes panel in the Report Designer

In the Bold Reports Designer, select the Report node in the Explorer. In the Properties panel, scroll to the Miscellaneous section and click Custom Attributes.

Custom Attributes panel in the Bold Reports Report Designer Properties

Reference: Custom Attributes in the Bold Reports Report Designer

2. Add the showparameterblock attribute

In the Custom Attributes dialog, click Add to create a new attribute, then enter the following values:

  • Name: showparameterblock
  • Value: false

Click OK to save the attribute.

Adding the showparameterblock custom attribute with value false

3. Save the report and preview it in the Report Viewer

Save the report (Ctrl+S) and click Preview to open it in the Bold Reports Report Viewer.

Before: the parameter icon is visible in the Report Viewer toolbar.

Before: parameter icon visible in the Bold Reports Report Viewer toolbar

After: the parameter icon is hidden, giving the toolbar a cleaner look.

After: parameter icon hidden in the Bold Reports Report Viewer toolbar

Result

The Report Viewer no longer shows the parameter icon in the toolbar. The report still loads with any default parameter values applied, so end users do not need to interact with the parameters block to view the report.

Additional notes

  • Hiding the parameter icon does not hide the parameters themselves. Default parameter values still pass to the report when it loads.
  • To re-enable the parameter icon, set showparameterblock to true or remove the attribute from Custom Attributes.
  • showparameterblock is one of several custom attributes that control Report Viewer toolbar elements. A related attribute, showalerticon, hides the alert icon (see Related articles).
  • showparameterblock is a Bold Reports custom report property that you set in the Report Designer and that the Report Viewer reads when it loads the report.

Troubleshooting

The parameter icon still appears after you set showparameterblock to false

Cause: The attribute name or value is mistyped, or the hosting application is still loading an older copy of the report.

Fix: In the Report Designer, open Properties → Miscellaneous → Custom Attributes and confirm the attribute is named exactly showparameterblock (all lowercase) with the value false. Save the report and republish it to the Bold Reports Report Server so the hosting application loads the updated definition. Reload the Report Viewer page to clear any cached copy of the report.

Frequently asked questions

How do I remove the parameter icon from the Bold Reports Report Viewer?

In the Bold Reports Designer, open Properties → Miscellaneous → Custom Attributes, add a new attribute named showparameterblock with the value false, save the report, and preview it in the Report Viewer.

What is the showparameterblock attribute?

showparameterblock is a custom report attribute that controls whether the parameter icon appears in the Bold Reports Report Viewer toolbar. Set it to false to hide the icon and to true to show it again. It is available in Bold Reports Report Viewer v2.0 and later.

Does hiding the parameter icon hide the parameter values?

No. Hiding the icon only changes the toolbar. Any default parameter values you set on the report still apply when the report loads in the viewer, and the report renders the same way it would with the icon visible.

Can I hide other Report Viewer toolbar icons the same way?

Yes. Use the matching custom attribute for each icon (for example, showalerticon for the alert icon). All toolbar-related custom attributes are managed from the same Custom Attributes panel in the Report Designer.

Related articles

Was this article useful?
Like
Dislike
Help us improve this page
Please provide feedback or comments
Comments (0)
Access denied
Access denied