Progress® Telerik® Reporting R3 2017

ReportViewer Class

Represents the Silverlight ReportViewer control.

Inheritance Hierarchy

Namespace:  Telerik.ReportViewer.Silverlight
Assembly:  Telerik.ReportViewer.Silverlight (in Telerik.ReportViewer.Silverlight.dll)

Syntax

public class ReportViewer : Control, 
	IReportServiceClientFactory

The ReportViewer type exposes the following members.

Constructors

  NameDescription
Public methodReportViewer
Initializes a new instance of the ReportViewer class.
Top

Properties

  NameDescription
Public propertyCode exampleCurrentPage
Gets or sets the current page in the viewer.
Public propertyCode exampleDocumentMapVisible
Gets or sets a value that indicates whether the document map is displayed if any bookmark is defined.
Public propertyCode exampleNavigateBackEnabled
Determines if navigate back in report viewer history operation is enabled
Public propertyCode exampleNavigateForwardEnabled
Determines if navigate forward in report viewer history operation is enabled
Public propertyCode exampleParametersAreaVisible
Gets or sets a value that indicates whether the parameters area is displayed if any parameter editor exists.
Public propertyReport
Specifies the assembly qualified name of the report class which should be displayed by the viewer.
Public propertyReportServerUriObsolete.
Specifies the Uri to the Telerik WCF Report service. The Uri may be absolute or relative. For complete information on how the relative Uris are resolved to absolute please see EnsureAbsoluteUri(Uri) method.
Public propertyCode exampleReportServiceClientFactory
Gets or sets the IReportServiceClientFactory that ReportViewer will use the next time a new instance of ReportServiceClient is required.
Public propertyReportServiceUri
Specifies the Uri to the Telerik WCF Report service. The Uri may be absolute or relative. For complete information on how the relative Uris are resolved to absolute please see EnsureAbsoluteUri(Uri) method.
Public propertyTextResources
Gets or sets the tooltips and the messages of the control.
Public propertyCode exampleTotalPages
Gets the count of the available pages in the viewer.
Public propertyUseDefaultPrinter
Specifies whether or not to automatically print to the default printer for the computer without showing a print dialog. Requires elevated permissions. If the application is partially trusted the property is ignored.
Public propertyUseNativePrinting
Specifies whether to use native Silverlight printing or not.
Public propertyCode exampleViewMode
Specifies whether the viewer is in interactive or print preview mode.
Public propertyCode exampleZoomMode
Gets or sets the zoom mode of the control.
Public propertyCode exampleZoomPercent
Gets or sets the zoom percentage to use when displaying the report.
Top

Methods

  NameDescription
Public methodCode exampleCanMoveToPage
Determines whether the viewer can be navigated to a specified page.
Public methodStatic memberCode exampleEnsureAbsoluteUri
Determines whether the given Uri is absolute. If not, creates a new absolute Uri based on the combination of Source for the current application and the given relative URI.
Public methodCode exampleExportReport
Exports the report in the specified format.
Public methodCode exampleNavigateBack
Navigates the viewer back one step in the navigation history.
Public methodCode exampleNavigateForward
Navigates the viewer forward one step in the navigation history.
Protected methodOnApplyParameters
This method is called to trigger the ApplyParameters event. Override this method in order to change / add the parameter values that will be used in the upcoming render operation.
Public methodOnApplyTemplate
Invoked whenever application code or internal processes call ApplyTemplate.
(Overrides FrameworkElementOnApplyTemplate.)
Protected methodOnError
Raises the Error event.
Protected methodOnExportBegin
Raises the ExportBegin event.
Protected methodOnExportEnd
Raises the ExportEnd event.
Protected methodOnInteractiveActionEnter
Raises the InteractiveActionEnter event.
Protected methodOnInteractiveActionExecuting
Raises the InteractiveActionExecuting event.
Protected methodOnInteractiveActionLeave
Raises the InteractiveActionLeave event.
Protected methodOnPrintBegin
Raises the PrintBegin event.
Protected methodOnPrintEnd
Raises the PrintEnd event.
Protected methodOnRenderBeginObsolete.
This method is called to trigger the RenderBegin method. Override this method in order to perform additional tasks before rendering the report. When overridden, make sure you call the base method implementation.
Protected methodOnRenderingBegin
Raises the RenderingBegin event.
Protected methodOnRenderingEnd
Raises the RenderingEnd event.
Protected methodOnUpdateUI
Raises the UpdateUI event.
Public methodCode examplePrintReport
Opens the print dialog for the report
Public methodCode exampleRefreshReport
Refreshes the current report in the viewer. Last used parameter values are used.
Top

Events

  NameDescription
Public eventCode exampleApplyParameters
Occurs when the viewer's Report property is changed, a parameter value is changed or refresh / preview is triggered from the viewer UI.
Public eventCode exampleError
Occurs when there is an error in the report viewer control.
Public eventCode exampleExportBegin
Occurs when the report in the viewer control starts exporting.
Public eventCode exampleExportEnd
Occurs when the report exporting in the viewer control is finished.
Public eventCode exampleInteractiveActionEnter
Occurs when the mouse cursor enters the area of a report item's action.
Public eventCode exampleInteractiveActionExecuting
Occurs when an action is being executed. Execution can be canceled.
Public eventCode exampleInteractiveActionLeave
Occurs when the mouse cursor leaves the area of a report item's action.
Public eventCode examplePrintBegin
Occurs when the report in the viewer control starts printing.
Public eventCode examplePrintEnd
Occurs when the report printing in the viewer control is finished.
Public eventRenderBeginObsolete.
Occurs when the viewer's Report property is changed, a parameter value is changed or refresh/print is triggered from the viewer UI.
Public eventCode exampleRenderingBegin
Occurs when the report rendering in the viewer control is started.
Public eventCode exampleRenderingEnd
Occurs when the report rendering in the viewer control is finished.
Public eventCode exampleUpdateUI
Occurs when the UI of the report viewer control is updated.
Top

Fields

  NameDescription
Public fieldStatic memberReportProperty
Defines the Report dependency property.
Public fieldStatic memberReportServiceClientFactoryProperty
Defines the ReportServiceClientFactory property.
Public fieldStatic memberReportServiceUriProperty
Defines the ReportServiceUri property.
Public fieldStatic memberReportSourceUriPropertyObsolete.
Defines the ReportSourceUri property.
Public fieldStatic memberTextResourcesProperty
Defines the TextResources property.
Public fieldStatic memberUseDefaultPrinterProperty
Defines the UseDefaultPrinter property.
Public fieldStatic memberUseNativePrintingProperty
Defines the UseNativePrinting property.
Public fieldStatic memberViewModeProperty
Defines the ViewMode property.
Public fieldStatic memberZoomModeProperty
Defines the ZoomMode property.
Public fieldStatic memberZoomPercentProperty
Defines the ZoomPercent property.
Top

See Also