Share via


CrystalReportPartsViewer Class

Provides properties, methods, and events that modify or retrieve information about how the CrystalReportPartsViewer control appears and functions.

Namespace CrystalDecisions.Web Assembly CrystalDecisions.Web (CrystalDecisions.Web.dll)

Syntax

'Declaration
Public Class CrystalReportPartsViewer
    Inherits CrystalReportViewerBase
    Implements IComponent, IDisposable, IParserAccessor, IUrlResolutionService, IDataBindingsAccessor, IControlBuilderAccessor, IControlDesignerAccessor, IExpressionsAccessor, IAttributeAccessor, IPostBackEventHandler, INamingContainer
public class CrystalReportPartsViewer : CrystalReportViewerBase, IComponent, IDisposable, IParserAccessor, IUrlResolutionService, IDataBindingsAccessor, IControlBuilderAccessor, IControlDesignerAccessor, IExpressionsAccessor, IAttributeAccessor, IPostBackEventHandler, INamingContainer

Example

This example shows how to initialize the CrystalReportPartsViewer.

'Declaration

    Private Sub InitializeWebReportPartsViewer(ByVal myBatchSize As Integer)
      CrystalReportPartsViewer.BatchSize = myBatchSize
      CrystalReportPartsViewer.EnableDrillDown = True
      CrystalReportPartsViewer.EnableParameterPrompt = True
      CrystalReportPartsViewer.EnableToolTips = True
      CrystalReportPartsViewer.HasBorder = True
      CrystalReportPartsViewer.HasPageNavigationLinks = True
      CrystalReportPartsViewer.IsDisplayHeadings = True
      CrystalReportPartsViewer.IsDisplayTitle = True
      CrystalReportPartsViewer.PreserveLayout = True
      CrystalReportPartsViewer.ReuseParameterValuesOnRefresh = True
      CrystalReportPartsViewer.RotateSections = True
      CrystalReportPartsViewer.ZoomFactor = 100
    End Sub
    private void InitializeWebReportPartsViewer(int batchSize)
    {
      crystalReportPartsViewer.BatchSize = batchSize;
      crystalReportPartsViewer.EnableDrillDown = true;
      crystalReportPartsViewer.EnableParameterPrompt = true;
      crystalReportPartsViewer.EnableToolTips = true;
      crystalReportPartsViewer.HasBorder = true;
      crystalReportPartsViewer.HasPageNavigationLinks = true;
      crystalReportPartsViewer.IsDisplayHeadings = true;
      crystalReportPartsViewer.IsDisplayTitle = true;
      crystalReportPartsViewer.PreserveLayout = true;
      crystalReportPartsViewer.ReuseParameterValuesOnRefresh = true;
      crystalReportPartsViewer.RotateSections = true;
      crystalReportPartsViewer.ZoomFactor = 100;
    }

Inheritance Hierarchy

BaseDataBoundControl
   DataBoundControl
      Object
         Control
            WebControl
               CrystalReportViewerBase
                  CrystalReportPartsViewer

Version Information

Crystal Reports Basic for Visual Studio 2008

Supported since: Crystal Reports .NET 9

See Also

Reference

CrystalReportPartsViewer Members
CrystalDecisions.Web Namespace