CrystalReportViewer Members
Provides properties, methods, and events that modify or retrieve information about how the CrystalReportViewer control appears and functions.
The following tables list the members exposed by the CrystalReportViewer type.
Public Properties
Property | Description | |
---|---|---|
AutoDataBind | (Inherited from CrystalReportViewerBase.) Gets or sets whether automatic data binding to a report source is used. If the value is set to True, the DataBind() method is called after OnInit() or Page_Init() events. | |
BestFitPage | Gets or sets whether the page view is best fit to its size or clipped with scrollbars. | |
BorderStyle | Overridden. Gets or sets the style of the border around the control. | |
ClientTarget | Overridden. Gets or sets the target rendering for different browsers. Valid values are 'Uplevel', 'Downlevel', and 'Auto'. | |
CssFilename | (Inherited from CrystalReportViewerBase.) Gets or sets the file path of the cascading style sheet (CSS) file. | |
DisplayGroupTree | Gets or sets whether the tree view is visible or hidden. | |
DisplayPage | Gets or sets whether the page view is visible or hidden. | |
DisplayToolbar | Gets or sets whether the toolbar is visible or hidden. | |
DrilldownTarget | Gets or sets the frame target that drilldown will post back to. | |
EnableDatabaseLogonPrompt | (Inherited from CrystalReportViewerBase.) Gets or sets whether the CrystalReportViewer control prompts for database logon if required. | |
EnableDrillDown | Gets or sets whether drilling down to a page/chart/summary is enabled. | |
EnableParameterPrompt | (Inherited from CrystalReportViewerBase.) Gets or sets whether the parameter prompt appears when the parameter values are not set. | |
EnableToolTips | (Inherited from CrystalReportViewerBase.) Gets or sets whether the ToolTip is visible or hidden. | |
EnterpriseLogon | (Inherited from CrystalReportViewerBase.) Gets or sets the logon information for an enterprise report. | |
GroupTreeImagesFolderUrl | Gets or sets the URL path to the folder where the Group Tree images are stored. | |
GroupTreeStyle | Gets or sets the display options for the group tree panel. | |
HasCrystalLogo | Gets or sets whether the Crystal Reports' logo on the toolbar is visible or hidden. | |
HasDrillUpButton | Gets or sets the visibility of the drill up button. The drill up button is used to bring the view up one level after you perform one or more drilldown actions. | |
HasExportButton | Gets or sets whether the export button on the toolbar is visible or hidden. | |
HasGotoPageButton | Gets or sets whether the goto page button on the toolbar is visible or hidden. | |
HasPageNavigationButtons | Gets or sets whether the page navigation buttons on the toolbar are visible or hidden. | |
HasPrintButton | Gets or sets whether the print button on the toolbar is visible or hidden. | |
HasRefreshButton | Gets or sets whether the refresh button on the toolbar is visible or hidden. | |
HasSearchButton | Gets or sets whether the search button on the toolbar is visible or hidden. | |
HasToggleGroupTreeButton | Gets or sets whether the show/hide group tree button on the toolbar is visible or hidden. | |
HasViewList | Gets or sets whether the view list on the toolbar is visible or hidden. | |
HasZoomFactorList | Gets or sets whether the zoom factor list on the toolbar is visible or hidden. | |
HyperlinkTarget | Determines whether the web page will be opened up in a new browser window, or in the existing browser window. | |
LogOnInfo | (Inherited from CrystalReportViewerBase.) Gets or sets the TableLogOnInfos collection. | |
PageToTreeRatio | Sets the size ratio between the group tree and the report view. | |
PageZoomFactor | Gets or sets the magnification factor for the report. | |
ParameterFieldInfo | (Inherited from CrystalReportViewerBase.) Gets or sets the parameter fields collection object. | |
PrintMode | Gets or sets the print mode to print the report. | |
ReportSource | Overridden. Sets the report to bind to the CrystalReportViewer control. | |
ReportSourceClassFactoryName | (Inherited from CrystalReportViewerBase.) Gets or sets the information needed to create an internal ReportSource object. | |
ReportSourceID | (Inherited from CrystalReportViewerBase.) Gets or Sets the ID of the ReportSourceControl to be used. | |
ReuseParameterValuesOnRefresh | (Inherited from CrystalReportViewerBase.) Gets or sets whether the current parameter values are used when the report is refreshed. | |
SelectionFormula | (Inherited from CrystalReportViewerBase.) Gets or sets the record selection formula of the report. | |
SeparatePages | Gets or sets whether the report pages are separated or concatenated. | |
ShowAllPageIds | Gets or sets whether the report object ids are given in the HTML. | |
TabIndex | Overridden. Specifies the tab order of the control. | |
ToolbarImagesFolderUrl | Gets or sets the URL path to images that are used for the toolbar. | |
ToolbarStyle | Gets or sets the style properties for the toolbar. | |
ViewInfo | Gets information about the current view of the report. | |
ViewTimeSelectionFormula | (Inherited from CrystalReportViewerBase.) Gets or sets whether the current browser locale is used to display the report. |
Top
Public Methods
Method | Description | |
---|---|---|
OnDrill | Synchronizes the Drill event between two CrystalReportViewer controls by acting as the default event handler for the second control. | |
OnDrillDownSubreport | Synchronizes the DrillDownSubreport event between two CrystalReportViewer controls by acting as the default event handler for the second control. | |
OnNavigate | Synchronizes the Navigate event between two CrystalReportViewer controls by acting as the default event handler for the second control. | |
OnRefresh | Synchronizes the ReportRefresh event between two CrystalReportViewer controls by acting as the default event handler for the second control. | |
PageDrillUp | Brings the view up one level after you perform one or more drilldown actions. | |
RefreshReport | Refreshes the report displayed in the CrystalReportViewer control. | |
SearchAndHighlightText | Searches the report for the given text in the specified direction. | |
SearchForText | Obsolete. Use SearchAndHighlightText instead. | |
ShowFirstPage | Shows the first page of the report. | |
ShowLastPage | Shows the last page of the report. | |
ShowNextPage | Shows the next page of the report. | |
ShowNthPage | Shows the specified page of the report. | |
ShowPreviousPage | Shows the previous page of the report. | |
Zoom | Changes the magnification level of the CrystalReportViewer control. |
Top
Public Events
Event | Description | |
---|---|---|
AfterRender | (Inherited from CrystalReportViewerBase.) Event fires when the report rendering process is finished. | |
AfterRenderContent | (Inherited from CrystalReportViewerBase.) Event fires when the report content rendering process is finished. | |
AfterRenderObject | (Inherited from CrystalReportViewerBase.) Event fires when the report object rendering process is finished. | |
BeforeRender | (Inherited from CrystalReportViewerBase.) Event fires when the report rendering process starts. | |
BeforeRenderContent | (Inherited from CrystalReportViewerBase.) Event fires when the report content rendering process starts. | |
BeforeRenderObject | (Inherited from CrystalReportViewerBase.) Event fires when the report object rendering process starts. | |
Drill | Event fires when a report is drilled down on. | |
DrillDownSubreport | Event fires when the user drills down on a subreport. | |
Error | (Inherited from CrystalReportViewerBase.) Event fires when the report object throws an exception. | |
Navigate | Event fires when the user navigates through a report. | |
OnRenderScript | (Inherited from CrystalReportViewerBase.) Event fires when the HTML script generation starts. | |
OnRenderStyle | (Inherited from CrystalReportViewerBase.) Event fires when the HTML style class generation starts. | |
ReportPartBookmarkNavigation | (Inherited from CrystalReportViewerBase.) Event fires after navigation to a report part in the same report or another report is finished. | |
ReportRefresh | Event fires when the data in the report is refreshed. | |
Search | Event fires when text is searched for in the report. | |
ViewZoom | Event fires when zoom level of the viewer changes. |
Top