1544450 - How to remove the Crystal Report Viewer's Toolbar from a Crystal report using the Crystal Reports.NET SDK?

SAP Knowledge Base Article - Public

1544450 - How to remove the Crystal Report Viewer's Toolbar from a Crystal report using the Crystal Reports.NET SDK?

Symptom

How to remove the Crystal Report Viewer's Toolbar from a Crystal report using the Crystal Reports.NET SDK?

Environment

  • Visual Studio 2005
  • Crystal Reports 2008

Resolution

  1. Right click on the Crystal Reports Viewer in the designer page inside Visual Studio and go to the Properties pane.
  2. Select the property 'Display Toolbar' and set its value to 'False'.

OR

  1. Add the following line of code just before assigning the report to the viewer:

    CrystalReportViewer1.DisplayToolbar = false;

Keywords

KBA , BI-DEV-NET-SDK , .NET SDK / COM SDK , How To

Product

Crystal Reports 2008 V1 ; SAP Crystal Reports XI R2