Share via


Classe ReportViewer

Incapsula le proprietà e i metodi utilizzati per il controllo ReportViewer.

Spazio dei nomi: Microsoft.Reporting.WebForms
Assembly: Microsoft.ReportViewer.WebForms (in microsoft.reportviewer.webforms.dll)

Sintassi

'Dichiarazione
<SRDescriptionAttribute("ReportViewerDescription")> _
<ParseChildrenAttribute(True)> _
<DesignerAttribute("Microsoft.Reporting.WebForms.ReportViewerDesigner, Microsoft.ReportViewer.WebDesign, Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")> _
<PersistChildrenAttribute(False)> _
Public Class ReportViewer
    Inherits CompositeControl
    Implements IPostBackEventHandler
'Utilizzo
Dim instance As ReportViewer
[SRDescriptionAttribute("ReportViewerDescription")] 
[ParseChildrenAttribute(true)] 
[DesignerAttribute("Microsoft.Reporting.WebForms.ReportViewerDesigner, Microsoft.ReportViewer.WebDesign, Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")] 
[PersistChildrenAttribute(false)] 
public class ReportViewer : CompositeControl, IPostBackEventHandler
[ParseChildrenAttribute(true)] 
[DesignerAttribute(L"Microsoft.Reporting.WebForms.ReportViewerDesigner, Microsoft.ReportViewer.WebDesign, Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")] 
[PersistChildrenAttribute(false)] 
public ref class ReportViewer : public CompositeControl, IPostBackEventHandler
/** @attribute SRDescriptionAttribute("ReportViewerDescription") */ 
/** @attribute ParseChildrenAttribute(true) */ 
/** @attribute DesignerAttribute("Microsoft.Reporting.WebForms.ReportViewerDesigner, Microsoft.ReportViewer.WebDesign, Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a") */ 
/** @attribute PersistChildrenAttribute(false) */ 
public class ReportViewer extends CompositeControl implements IPostBackEventHandler
SRDescriptionAttribute("ReportViewerDescription") 
ParseChildrenAttribute(true) 
DesignerAttribute("Microsoft.Reporting.WebForms.ReportViewerDesigner, Microsoft.ReportViewer.WebDesign, Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a") 
PersistChildrenAttribute(false) 
public class ReportViewer extends CompositeControl implements IPostBackEventHandler

Note

Questo controllo consente di visualizzare il report e l'interfaccia utente associata. In fase di progettazione esso contiene un'area dei parametri, una mappa documento vuota, una barra degli strumenti e un'area del report.

È possibile utilizzare il controllo in modalità di elaborazione locale o remota. Nella prima modalità, l'elaborazione e il rendering del report vengono eseguiti a livello locale. Nella seconda modalità, l'elaborazione viene eseguita in un server di report e la visualizzazione avviene a livello locale. Per la modalità di elaborazione remota è necessaria un'istanza di Microsoft SQL Server 2005 del server di report.

[!NOTA] Per informazioni sull'utilizzo del controllo del server Web ReportViewer in una Web farm o con lo stato delle sessioni disattivato, vedere Web.config Settings for ReportViewer.

Gerarchia di ereditarietà

System.Object
   System.Web.UI.Control
     System.Web.UI.WebControls.WebControl
       System.Web.UI.WebControls.CompositeControl
        Microsoft.Reporting.WebForms.ReportViewer

Protezione dei thread

Qualsiasi membro statico pubblico (Condiviso in Visual Basic) di questo tipo presenterà la protezione dei thread. Non è garantito che qualsiasi membro di istanza presenterà la protezione dei thread.

Vedere anche

Riferimento

Membri ReportViewer
Spazio dei nomi Microsoft.Reporting.WebForms