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)
Syntax
'Declaration
<PersistChildrenAttribute(False)> _
<DesignerAttribute("Microsoft.Reporting.WebForms.ReportViewerDesigner, Microsoft.ReportViewer.WebDesign, Version=9.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")> _
<ParseChildrenAttribute(True)> _
Public Class ReportViewer
Inherits CompositeControl
Implements IPostBackEventHandler
'Usage
Dim instance As ReportViewer
[PersistChildrenAttribute(false)]
[DesignerAttribute("Microsoft.Reporting.WebForms.ReportViewerDesigner, Microsoft.ReportViewer.WebDesign, Version=9.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")]
[ParseChildrenAttribute(true)]
public class ReportViewer : CompositeControl, IPostBackEventHandler
[PersistChildrenAttribute(false)]
[DesignerAttribute(L"Microsoft.Reporting.WebForms.ReportViewerDesigner, Microsoft.ReportViewer.WebDesign, Version=9.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")]
[ParseChildrenAttribute(true)]
public ref class ReportViewer : public CompositeControl, IPostBackEventHandler
/** @attribute PersistChildrenAttribute(false) */
/** @attribute DesignerAttribute("Microsoft.Reporting.WebForms.ReportViewerDesigner, Microsoft.ReportViewer.WebDesign, Version=9.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a") */
/** @attribute ParseChildrenAttribute(true) */
public class ReportViewer extends CompositeControl implements IPostBackEventHandler
PersistChildrenAttribute(false)
DesignerAttribute("Microsoft.Reporting.WebForms.ReportViewerDesigner, Microsoft.ReportViewer.WebDesign, Version=9.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")
ParseChildrenAttribute(true)
public class ReportViewer extends CompositeControl implements IPostBackEventHandler
Remarks
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.
Note
For more information about using the ReportViewer Web server control in a Web farm or without session state, see Web.config Settings for ReportViewer.
Inheritance Hierarchy
System.Object
System.Web.UI.Control
System.Web.UI.WebControls.WebControl
System.Web.UI.WebControls.CompositeControl
Microsoft.Reporting.WebForms.ReportViewer
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.