CrystalReportViewer.ShowPageNavigateButtons Property

Gets or sets whether the CrystalReportViewer control's toolbar has the buttons for page navigation.

Namespace CrystalDecisions.Windows.Forms Assembly CrystalDecisions.Windows.Forms (CrystalDecisions.Windows.Forms.dll)

Syntax

'Declaration

Public Property ShowPageNavigateButtons As Boolean
public bool ShowPageNavigateButtons {get; set;}

Example

This example will display all of the available buttons in the CrystalReportViewer toolbar.

'Declaration

    Private Sub SetShowButtons()
      CrystalReportViewer.ShowCloseButton = True
      CrystalReportViewer.ShowExportButton = True
      CrystalReportViewer.ShowGotoPageButton = True
      CrystalReportViewer.ShowGroupTreeButton = True
      CrystalReportViewer.ShowPageNavigateButtons = True
      CrystalReportViewer.ShowPrintButton = True
      CrystalReportViewer.ShowRefreshButton = True
      CrystalReportViewer.ShowTextSearchButton = True
      CrystalReportViewer.ShowZoomButton = True
    End Sub
    private void SetShowButtons()
    {
      crystalReportViewer.ShowCloseButton = true;
      crystalReportViewer.ShowExportButton = true;
      crystalReportViewer.ShowGotoPageButton = true;
      crystalReportViewer.ShowGroupTreeButton = true;
      crystalReportViewer.ShowPageNavigateButtons = true;
      crystalReportViewer.ShowPrintButton = true;
      crystalReportViewer.ShowRefreshButton = true;
      crystalReportViewer.ShowTextSearchButton = true;
      crystalReportViewer.ShowZoomButton = true;
    }

Version Information

Crystal Reports Basic for Visual Studio 2008

Supported since: Crystal Reports for Visual Studio .NET 2002

See Also

Reference

CrystalReportViewer Class
CrystalReportViewer Members
CrystalDecisions.Windows.Forms Namespace