ReportViewer Class
Collapse the table of content
Expand the table of content
Important This document may not represent best practices for current development, links to downloads and other resources may no longer be valid. Current recommended version can be found here. ArchiveDisclaimer

ReportViewer Class 

Encapsulates the methods and properties used for the ReportViewer control.

Namespace: Microsoft.Reporting.WebForms
Assembly: Microsoft.ReportViewer.WebForms (in microsoft.reportviewer.webforms.dll)

public class ReportViewer : CompositeControl, IPostBackEventHandler
public class ReportViewer extends CompositeControl implements IPostBackEventHandler
public class ReportViewer extends CompositeControl implements IPostBackEventHandler

This control shows the report and its associated user interface. The control’s design-time appearance can show a parameters area, a blank document map, a toolbar, and a report area.

The control can work in either local or remote processing mode. In local processing mode, the control processes and renders the report locally. In remote processing mode, processing is done on a report server and displayed locally. The remote processing mode requires a Microsoft SQL Server 2005 instance of report server.


For more information about using the ReportViewer Web server control in a Web farm or without session state, see Web.config Settings for ReportViewer.


Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
© 2016 Microsoft