1638199 - How to hide the Side Panel of the Crystal Reports WPF viewer?

SAP Knowledge Base Article - Public

1638199 - How to hide the Side Panel of the Crystal Reports WPF viewer?

Symptom

  • The Side Panel displays the Parameter Panel and Group Tree Panel
  • How to disable the Side Panel?

Environment

  • Crystal Reports for Visual Studio 2010
  • VS2010

Resolution

  • Use the following VB code:
Public Sub New()
 
        ' This call is required by the designer.
        InitializeComponent()
 
        ' Add any initialization after the InitializeComponent() call.
        ReportViewer.Owner = Me
        ReportViewer.ViewerCore.ToggleSidePanel = SAPBusinessObjects.WPF.Viewer.Constants.SidePanelKind.None
 
 End Sub
  • C# Code:
public partial class Window1 : Window
    {
        public Window1()
        {
            InitializeComponent();
            reportViewer.Owner = this;
            reportViewer.ViewerCore.ToggleSidePanel = SAPBusinessObjects.WPF.Viewer.Constants.SidePanelKind.None;
 
        }
    }

Keywords

CR2010 2010 CR4VS2010 CR4VS VS2010 NET2010 Crystal Reports for .NET Framework 4.0 crforvs 13 SidePanel GroupTree , KBA , BI-DEV-NET-SDK , .NET SDK / COM SDK , How To

Product

SAP Crystal Reports, developer version for Microsoft Visual Studio