ReportViewerWebPart Class
Updated: February 25, 2016
Represents the Report Viewer Web Part.
Assembly: Microsoft.ReportingServices.SharePoint.UI.WebParts (in Microsoft.ReportingServices.SharePoint.UI.WebParts.dll)
System.Web.UI::Control
System.Web.UI.WebControls::WebControl
System.Web.UI.WebControls::Panel
System.Web.UI.WebControls.WebParts::Part
System.Web.UI.WebControls.WebParts::WebPart
Microsoft.SharePoint.WebPartPages::WebPart
Microsoft.ReportingServices.SharePoint.UI.WebParts::ReportViewerWebPart
| Name | Description | |
|---|---|---|
![]() | ReportViewerWebPart() | Initializes a new instance of the ReportViewerWebPart class. |
| Name | Description | |
|---|---|---|
![]() | AccessKey | (Inherited from WebControl.) |
![]() | Adapter | (Inherited from Control.) |
![]() | AllowClose | (Inherited from WebPart.) |
![]() | AllowConnect | (Inherited from WebPart.) |
![]() | AllowEdit | (Inherited from WebPart.) |
![]() | AllowHide | (Inherited from WebPart.) |
![]() | AllowMinimize | (Inherited from WebPart.) |
![]() | AllowRemove | (Inherited from WebPart.) |
![]() | AllowZoneChange | (Inherited from WebPart.) |
![]() | AppRelativeTemplateSourceDirectory | (Inherited from Control.) |
![]() | AsyncRendering | Gets or sets a value that indicates whether the report is rendered asynchronously from the rest of the Web page when the Web page is loaded. |
![]() | Attributes | (Inherited from WebControl.) |
![]() | AuthorizationFilter | (Inherited from WebPart.) |
![]() | AutoGenerateDetailLink | Gets or sets a value that indicates whether to generate a hyperlink that appears above the Web Part. You can click the link to open the report in a new page, in full-page mode. |
![]() | AutoGenerateTitle | Gets or sets a value that indicates whether the Web part title should be automatically generated from the report that is displayed. |
![]() | BackColor | (Inherited from WebControl.) |
![]() | BackImageUrl | (Inherited from Panel.) |
![]() | BorderColor | (Inherited from WebControl.) |
![]() | BorderStyle | (Inherited from WebControl.) |
![]() | BorderWidth | (Inherited from WebControl.) |
![]() | BrowserDesignMode | (Inherited from WebPart.) |
![]() | CacheType | (Inherited from WebPart.) |
![]() | Caption | (Inherited from WebPart.) |
![]() | CatalogIconImageUrl | (Inherited from WebPart.) |
![]() | ChildControlsCreated | (Inherited from Control.) |
![]() | ChromeState | (Inherited from WebPart.) |
![]() | ChromeType | (Inherited from WebPart.) |
![]() | ClassResourcePath | (Inherited from WebPart.) |
![]() | ClientID | (Inherited from Control.) |
![]() | ClientIDSeparator | (Inherited from Control.) |
![]() | ClientName | (Inherited from WebPart.) |
![]() | ConnectErrorMessage | (Inherited from WebPart.) |
![]() | ConnectionID | (Inherited from WebPart.) |
![]() | Connections | (Inherited from WebPart.) |
![]() | ContainerWidth | (Inherited from WebPart.) |
![]() | Context | (Inherited from Control.) |
![]() | Controls | (Inherited from Part.) |
![]() | ControlStyle | (Inherited from WebControl.) |
![]() | ControlStyleCreated | (Inherited from WebControl.) |
![]() | CssClass | (Inherited from WebControl.) |
![]() | CssStyleSheet | (Inherited from WebPart.) |
![]() | DefaultButton | (Inherited from Panel.) |
![]() | Description | (Inherited from WebPart.) |
![]() | DesignMode | (Inherited from Control.) |
![]() | DetailLink | (Inherited from WebPart.) |
![]() | Dir | (Inherited from WebPart.) |
![]() | Direction | (Inherited from WebPart.) |
![]() | DisplayTitle | (Inherited from WebPart.) |
![]() | DockToolBar | Gets or sets the docking location of the toolbar. |
![]() | DocumentMapAreaWidth | Gets or sets a string that indicates the width of the document map area. |
![]() | DocumentMapMode | Gets or sets an enumeration value that indicates the visibility mode of the document map area. |
![]() | EffectiveFrameType | (Inherited from WebPart.) |
![]() | EffectiveStorage | (Inherited from WebPart.) |
![]() | EffectiveTitle | (Inherited from WebPart.) |
![]() | Enabled | (Inherited from WebControl.) |
![]() | EnableTheming | (Inherited from WebControl.) |
![]() | EnableViewState | (Inherited from Control.) |
![]() | Events | (Inherited from Control.) |
![]() | ExportControlledProperties | (Inherited from WebPart.) |
![]() | ExportMode | (Inherited from WebPart.) |
![]() | Font | (Inherited from WebControl.) |
![]() | ForeColor | (Inherited from WebControl.) |
![]() | FrameState | (Inherited from WebPart.) |
![]() | FrameType | (Inherited from WebPart.) |
![]() | GroupingText | (Inherited from Panel.) |
![]() | HasAttributes | (Inherited from WebControl.) |
![]() | HasChildViewState | (Inherited from Control.) |
![]() | HasSharedData | (Inherited from WebPart.) |
![]() | HasUserData | (Inherited from WebPart.) |
![]() | Height | (Inherited from WebPart.) |
![]() | HelpLink | (Inherited from WebPart.) |
![]() | HelpMode | (Inherited from WebPart.) |
![]() | HelpUrl | (Inherited from WebPart.) |
![]() | Hidden | (Inherited from WebPart.) |
![]() | HorizontalAlign | (Inherited from Panel.) |
![]() | HyperlinkTarget | Gets or sets the target frame for displaying linked content within the current report. |
![]() | ID | (Inherited from WebPart.) |
![]() | IdSeparator | (Inherited from Control.) |
![]() | ImportErrorMessage | (Inherited from WebPart.) |
![]() | IsChildControlStateCleared | (Inherited from Control.) |
![]() | IsClosed | (Inherited from WebPart.) |
![]() | IsEnabled | (Inherited from WebControl.) |
![]() | IsIncluded | (Inherited from WebPart.) |
![]() | IsIncludedFilter | (Inherited from WebPart.) |
![]() | IsShared | (Inherited from WebPart.) |
![]() | IsStandalone | (Inherited from WebPart.) |
![]() | IsStatic | (Inherited from WebPart.) |
![]() | IsTrackingViewState | (Inherited from Control.) |
![]() | IsViewStateEnabled | (Inherited from Control.) |
![]() | IsVisible | (Inherited from WebPart.) |
![]() | KeepSessionAlive | Gets or sets a value that indicates whether the ReportViewerWebPart should keep the user session from expiring. |
![]() | LoadViewStateByID | (Inherited from Control.) |
![]() | MissingAssembly | (Inherited from WebPart.) |
![]() | NamingContainer | (Inherited from Control.) |
![]() | OverflowAuto | Gets whether to automatically apply the overflow property to the viewer.(Overrides WebPart::OverflowAuto.) |
![]() | OverrideParameters | Gets a collection of ReportParameter objects that are used to override the default parameters for the report that is being loaded in the Web Part. |
![]() | Page | (Inherited from Control.) |
![]() | Parent | (Inherited from Control.) |
![]() | PartImageLarge | (Inherited from WebPart.) |
![]() | PartImageSmall | (Inherited from WebPart.) |
![]() | PartOrder | (Inherited from WebPart.) |
![]() | Permissions | (Inherited from WebPart.) |
![]() | PromptAreaMode | Gets or sets a value that indicates the visibility mode of the parameter prompt area and the credential prompt area (if applicable). |
![]() | Qualifier | (Inherited from WebPart.) |
![]() | ReportPath | Gets or sets a fully qualified path to a report that is on the current SharePoint site, or on a site within the same Web application or farm. |
![]() | SaveProperties | (Inherited from WebPart.) |
![]() | ScrollBars | (Inherited from Panel.) |
![]() | SerializeAll | (Inherited from WebPart.) |
![]() | SerializedAttachedPropertiesShared | (Inherited from WebPart.) |
![]() | SerializedAttachedPropertiesUser | (Inherited from WebPart.) |
![]() | ServerRelativeClassResourcePath | (Inherited from WebPart.) |
![]() | ShouldValidate | (Inherited from WebPart.) |
![]() | Site | (Inherited from Control.) |
![]() | SkinID | (Inherited from WebControl.) |
![]() | StorageKey | (Inherited from WebPart.) |
![]() | Style | (Inherited from WebControl.) |
![]() | Subtitle | (Inherited from WebPart.) |
![]() | SuppressWebPartChrome | (Inherited from WebPart.) |
![]() | TabIndex | (Inherited from WebControl.) |
![]() | TagKey | (Inherited from WebControl.) |
![]() | TagName | (Inherited from WebControl.) |
![]() | TemplateControl | (Inherited from Control.) |
![]() | TemplateSourceDirectory | (Inherited from Control.) |
![]() | Title | Gets or sets the title string of the ReportViewerWebPart.(Overrides WebPart::Title.) |
![]() | TitleIconImageUrl | (Inherited from WebPart.) |
![]() | TitleUrl | (Inherited from WebPart.) |
![]() | ToolBarItemsDisplayMode | Gets or sets a bit flags enumeration value that specifies which toolbar items are displayed when ToolBarMode is set to Full. |
![]() | ToolBarMode | Gets or sets the display mode of the toolbar. |
![]() | ToolTip | (Inherited from WebControl.) |
![]() | UniqueID | (Inherited from Control.) |
![]() | UnknownXmlElements | (Inherited from WebPart.) |
![]() | UseDefaultStyles | (Inherited from WebPart.) |
![]() | Verbs | (Inherited from WebPart.) |
![]() | ViewState | (Inherited from Control.) |
![]() | ViewStateIgnoresCase | (Inherited from Control.) |
![]() | Visible | (Inherited from Control.) |
![]() | WebBrowsableObject | (Inherited from WebPart.) |
![]() | WebPartManager | (Inherited from WebPart.) |
![]() | WebPartMenu | (Inherited from WebPart.) |
![]() | Width | (Inherited from WebPart.) |
![]() | WorkItemTimeout | (Inherited from WebPart.) |
![]() | Wrap | (Inherited from Panel.) |
![]() | Zone | (Inherited from WebPart.) |
![]() | ZoneID | (Inherited from WebPart.) |
![]() | ZoneIndex | (Inherited from WebPart.) |
You can add the ReportViewerWebPart to a SharePoint application and customize it using its programmatic interface. For example, use the DockToolBar property to programmatically control where the toolbar is displayed. You can control the visibility of individual toolbar items using the ToolBarItemsDisplayMode property.
To supply custom report parameters to the ReportViewerWebPart, use the GetParameters method to see which parameters are available on the report that is currently displayed, then use the OverrideParameters method to supply custom parameter values to the report. To programmatically specify a report path to the ReportViewerWebPart, you can use the ReportPath property.
The ReportViewerWebPart can also consume a report path and report parameters using Web Part connections. Using Web Part connections, an T:System.Web.UI.WebControls.IWebPartRow Web Part can provide a report path to the ReportViewerWebPart, and an IFilterValues Web Part can provide a report parameter to the ReportViewerWebPart.
Any public static ( Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.







