ReportViewerWebPart 类

Represents the Report Viewer Web Part.

继承层次结构

System.Object
  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
            WebPart
              Microsoft.ReportingServices.SharePoint.UI.WebParts.ReportViewerWebPart

命名空间:  Microsoft.ReportingServices.SharePoint.UI.WebParts
程序集:  Microsoft.ReportingServices.SharePoint.UI.WebParts(在 Microsoft.ReportingServices.SharePoint.UI.WebParts.dll 中)

语法

声明
Public Class ReportViewerWebPart _
    Inherits WebPart _
    Implements IScriptControl
用法
Dim instance As ReportViewerWebPart
public class ReportViewerWebPart : WebPart, 
    IScriptControl
public ref class ReportViewerWebPart : public WebPart, 
    IScriptControl
type ReportViewerWebPart =  
    class
        inherit WebPart
        interface IScriptControl
    end
public class ReportViewerWebPart extends WebPart implements IScriptControl

ReportViewerWebPart 类型公开以下成员。

构造函数

  名称 说明
公共方法 ReportViewerWebPart Initializes a new instance of the ReportViewerWebPart class.

页首

属性

  名称 说明
公共属性 AccessKey (从 WebControl 继承。)
受保护属性 Adapter (从 Control 继承。)
公共属性 AllowClose (从 WebPart 继承。)
公共属性 AllowConnect (从 WebPart 继承。)
公共属性 AllowEdit (从 WebPart 继承。)
公共属性 AllowHide (从 WebPart 继承。)
公共属性 AllowMinimize (从 WebPart 继承。)
公共属性 AllowRemove 已过时。 (从 WebPart 继承。)
公共属性 AllowZoneChange (从 WebPart 继承。)
公共属性 AppRelativeTemplateSourceDirectory (从 Control 继承。)
公共属性 AsyncRendering Gets or sets a Boolean value that indicates whether the report is rendered asynchronously from the rest of the Web page when the Web page is loaded.
公共属性 Attributes (从 WebControl 继承。)
公共属性 AuthorizationFilter (从 WebPart 继承。)
公共属性 AutoGenerateDetailLink Gets or sets a Boolean 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 Boolean value that indicates whether the Web part title should be automatically generated from the report that is displayed.
公共属性 BackColor (从 WebControl 继承。)
公共属性 BackImageUrl (从 Panel 继承。)
公共属性 BindingContainer (从 Control 继承。)
公共属性 BorderColor (从 WebControl 继承。)
公共属性 BorderStyle (从 WebControl 继承。)
公共属性 BorderWidth (从 WebControl 继承。)
公共属性 BrowserDesignMode 已过时。 (从 WebPart 继承。)
受保护属性 CacheType (从 WebPart 继承。)
公共属性 Caption 已过时。 (从 WebPart 继承。)
公共属性 CatalogIconImageUrl (从 WebPart 继承。)
受保护属性 ChildControlsCreated (从 Control 继承。)
公共属性 ChromeState (从 WebPart 继承。)
公共属性 ChromeType (从 WebPart 继承。)
受保护属性 ClassResourcePath (从 WebPart 继承。)
公共属性 ClientID (从 Control 继承。)
受保护属性 ClientIDSeparator (从 Control 继承。)
公共属性 ClientName (从 WebPart 继承。)
公共属性 ConnectErrorMessage (从 WebPart 继承。)
公共属性 ConnectionID (从 WebPart 继承。)
公共属性 Connections (从 WebPart 继承。)
受保护属性 ContainerWidth 已过时。 (从 WebPart 继承。)
受保护属性 Context (从 Control 继承。)
公共属性 Controls (从 Part 继承。)
公共属性 ControlStyle (从 WebControl 继承。)
公共属性 ControlStyleCreated (从 WebControl 继承。)
公共属性 CssClass (从 WebControl 继承。)
公共属性 CssStyleSheet (从 WebPart 继承。)
公共属性 DefaultButton (从 Panel 继承。)
公共属性 Description (从 WebPart 继承。)
受保护属性 DesignMode (从 Control 继承。)
公共属性 DetailLink 已过时。 (从 WebPart 继承。)
公共属性 Dir 已过时。 (从 WebPart 继承。)
公共属性 Direction (从 WebPart 继承。)
公共属性 DisplayTitle (从 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 已过时。 (从 WebPart 继承。)
公共属性 EffectiveStorage (从 WebPart 继承。)
公共属性 EffectiveTitle (从 WebPart 继承。)
公共属性 Enabled (从 WebControl 继承。)
公共属性 EnableTheming (从 WebControl 继承。)
公共属性 EnableViewState (从 Control 继承。)
受保护属性 Events (从 Control 继承。)
公共属性 ExportControlledProperties 已过时。 (从 WebPart 继承。)
公共属性 ExportMode (从 WebPart 继承。)
公共属性 Font (从 WebControl 继承。)
公共属性 ForeColor (从 WebControl 继承。)
公共属性 FrameState 已过时。 (从 WebPart 继承。)
公共属性 FrameType 已过时。 (从 WebPart 继承。)
公共属性 GroupingText (从 Panel 继承。)
公共属性 HasAttributes (从 WebControl 继承。)
受保护属性 HasChildViewState (从 Control 继承。)
公共属性 HasSharedData (从 WebPart 继承。)
公共属性 HasUserData (从 WebPart 继承。)
公共属性 Height (从 WebPart 继承。)
公共属性 HelpLink 已过时。 (从 WebPart 继承。)
公共属性 HelpMode (从 WebPart 继承。)
公共属性 HelpUrl (从 WebPart 继承。)
公共属性 Hidden (从 WebPart 继承。)
公共属性 HorizontalAlign (从 Panel 继承。)
公共属性 HyperlinkTarget Gets or sets the target frame for displaying linked content within the current report.
公共属性 ID (从 WebPart 继承。)
受保护属性 IdSeparator (从 Control 继承。)
公共属性 ImportErrorMessage (从 WebPart 继承。)
受保护属性 IsChildControlStateCleared (从 Control 继承。)
公共属性 IsClosed (从 WebPart 继承。)
受保护属性 IsEnabled (从 WebControl 继承。)
公共属性 IsIncluded 已过时。 (从 WebPart 继承。)
公共属性 IsIncludedFilter 已过时。 (从 WebPart 继承。)
公共属性 IsShared (从 WebPart 继承。)
公共属性 IsStandalone (从 WebPart 继承。)
公共属性 IsStatic (从 WebPart 继承。)
受保护属性 IsTrackingViewState (从 Control 继承。)
受保护属性 IsViewStateEnabled (从 Control 继承。)
公共属性 IsVisible 已过时。 (从 WebPart 继承。)
公共属性 KeepSessionAlive Gets or sets a Boolean value that indicates whether the ReportViewerWebPart should keep the user session from expiring.
受保护属性 LoadViewStateByID (从 Control 继承。)
公共属性 MissingAssembly 已过时。 (从 WebPart 继承。)
公共属性 NamingContainer (从 Control 继承。)
受保护属性 OverflowAuto (从 WebPart 继承。)
公共属性 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 (从 Control 继承。)
公共属性 Parent (从 Control 继承。)
公共属性 PartImageLarge 已过时。 (从 WebPart 继承。)
公共属性 PartImageSmall 已过时。 (从 WebPart 继承。)
公共属性 PartOrder 已过时。 (从 WebPart 继承。)
公共属性 Permissions 已过时。 (从 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 (从 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 (从 WebPart 继承。)
公共属性 ScrollBars (从 Panel 继承。)
受保护属性 SerializeAll (从 WebPart 继承。)
公共属性 SerializedAttachedPropertiesShared (从 WebPart 继承。)
公共属性 SerializedAttachedPropertiesUser (从 WebPart 继承。)
受保护属性 ServerRelativeClassResourcePath (从 WebPart 继承。)
受保护属性 ShouldValidate (从 WebPart 继承。)
公共属性 Site (从 Control 继承。)
公共属性 SkinID (从 WebControl 继承。)
公共属性 StorageKey (从 WebPart 继承。)
公共属性 Style (从 WebControl 继承。)
公共属性 Subtitle (从 WebPart 继承。)
公共属性 SuppressWebPartChrome (从 WebPart 继承。)
公共属性 TabIndex (从 WebControl 继承。)
受保护属性 TagKey (从 WebControl 继承。)
受保护属性 TagName (从 WebControl 继承。)
公共属性 TemplateControl (从 Control 继承。)
公共属性 TemplateSourceDirectory (从 Control 继承。)
公共属性 Title Gets or sets the title string of the ReportViewerWebPart. (覆盖 WebPartTitle()。)
公共属性 TitleIconImageUrl (从 WebPart 继承。)
公共属性 TitleUrl (从 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 (从 WebControl 继承。)
公共属性 UniqueID (从 Control 继承。)
公共属性 UnknownXmlElements (从 WebPart 继承。)
公共属性 UseDefaultStyles (从 WebPart 继承。)
公共属性 Verbs (从 WebPart 继承。)
受保护属性 ViewState (从 Control 继承。)
受保护属性 ViewStateIgnoresCase (从 Control 继承。)
公共属性 Visible (从 Control 继承。)
公共属性 WebBrowsableObject (从 WebPart 继承。)
受保护属性 WebPartManager (从 WebPart 继承。)
受保护属性 WebPartMenu (从 WebPart 继承。)
公共属性 Width (从 WebPart 继承。)
受保护属性 WorkItemTimeout 已过时。 (从 WebPart 继承。)
公共属性 Wrap (从 Panel 继承。)
公共属性 Zone (从 WebPart 继承。)
公共属性 ZoneID (从 WebPart 继承。)
公共属性 ZoneIndex (从 WebPart 继承。)

页首

方法

  名称 说明
受保护方法 AddAttributesToRender (从 Panel 继承。)
受保护方法 AddedControl (从 Control 继承。)
公共方法 AddParameterProvider Specifies the parameter provider Web Part when this Web Part is configured to consume data from that Web Part.
受保护方法 AddParsedSubObject (从 WebPart 继承。)
公共方法 AfterDeserialize (从 WebPart 继承。)
公共方法 ApplyStyle (从 WebControl 继承。)
公共方法 ApplyStyleSheetSkin (从 Control 继承。)
受保护方法 BuildProfileTree (从 Control 继承。)
公共方法 CanRunAt 已过时。 (从 WebPart 继承。)
受保护方法 ClearChildControlState (从 Control 继承。)
受保护方法 ClearChildState (从 Control 继承。)
受保护方法 ClearChildViewState (从 Control 继承。)
公共方法 CopyBaseAttributes (从 WebControl 继承。)
受保护方法 CreateChildControls 基础结构。Creates the child controls of the ReportViewerWebPart. (覆盖 Control.CreateChildControls()。)
受保护方法 CreateControlCollection (从 Control 继承。)
受保护方法 CreateControlStyle (从 Panel 继承。)
公共方法 CreateEditorParts (从 WebPart 继承。)
公共方法 CreateWebPartMenu (从 WebPart 继承。)
公共方法 DataBind() (从 Part 继承。)
受保护方法 DataBind(Boolean) (从 Control 继承。)
受保护方法 DataBindChildren (从 Control 继承。)
公共方法 Dispose (从 WebPart 继承。)
受保护方法 EnsureChildControls (从 Control 继承。)
受保护方法 EnsureID (从 Control 继承。)
公共方法 EnsureInterfaces 已过时。 (从 WebPart 继承。)
公共方法 Equals (从 Object 继承。)
受保护方法 Finalize (从 Object 继承。)
公共方法 FindControl(String) (从 Control 继承。)
受保护方法 FindControl(String, Int32) (从 Control 继承。)
公共方法 Focus (从 Control 继承。)
受保护方法 GetCustomBuilder (从 WebPart 继承。)
公共方法 GetData 已过时。 (从 WebPart 继承。)
受保护方法 GetDesignModeState (从 Control 继承。)
公共方法 GetDesignTimeFooter (从 WebPart 继承。)
公共方法 GetDesignTimeHeader (从 WebPart 继承。)
公共方法 GetHashCode (从 Object 继承。)
公共方法 GetInitEventArgs 已过时。 (从 WebPart 继承。)
公共方法 GetParameters Returns the parameters of the current report in the ReportViewerWebPart.
公共方法 GetRequiresData 已过时。 (从 WebPart 继承。)
公共方法 GetToolParts Returns a list of tool parts that are displayed in the tool pane of the Web-based Web Part design user interface, in the order in which they are displayed. (覆盖 WebPartGetToolParts()。)
公共方法 GetType (从 Object 继承。)
公共方法 HasControls (从 Control 继承。)
受保护方法 HasEvents (从 Control 继承。)
受保护方法 IsLiteralContent (从 Control 继承。)
受保护方法 LoadControlState (从 Control 继承。)
公共方法 LoadResource (从 WebPart 继承。)
受保护方法 LoadViewState Restores view-state information from a previous request that was saved with the SaveViewState method. (覆盖 WebPartLoadViewState(Object)。)
受保护方法 MapPathSecure (从 Control 继承。)
受保护方法 MemberwiseClone (从 Object 继承。)
公共方法 MergeStyle (从 WebControl 继承。)
受保护方法 NotifyWorkItemComplete 已过时。 (从 WebPart 继承。)
受保护方法 OnBubbleEvent (从 Control 继承。)
受保护方法 OnClosing (从 WebPart 继承。)
受保护方法 OnConnectModeChanged (从 WebPart 继承。)
受保护方法 OnDataBinding (从 WebPart 继承。)
受保护方法 OnDeleting (从 WebPart 继承。)
受保护方法 OnEditModeChanged (从 WebPart 继承。)
受保护方法 OnInit Raises the Init event. (覆盖 WebPartOnInit(EventArgs)。)
受保护方法 OnLoad (从 Control 继承。)
受保护方法 OnPreRender Raises the PreRender event. (覆盖 WebPartOnPreRender(EventArgs)。)
受保护方法 OnUnload (从 WebPart 继承。)
受保护方法 OpenFile (从 Control 继承。)
公共方法 PartCacheInvalidate() (从 WebPart 继承。)
受保护方法 PartCacheInvalidate(Storage) (从 WebPart 继承。)
受保护方法 PartCacheInvalidate(Storage, String) (从 WebPart 继承。)
受保护方法 PartCacheRead (从 WebPart 继承。)
受保护方法 PartCacheWrite (从 WebPart 继承。)
公共方法 PartCommunicationConnect 已过时。 (从 WebPart 继承。)
公共方法 PartCommunicationInit 已过时。 (从 WebPart 继承。)
公共方法 PartCommunicationMain 已过时。 (从 WebPart 继承。)
受保护方法 RaiseBubbleEvent (从 Control 继承。)
受保护方法 RegisterInterface(String, String, Int32, ConnectionRunAt, Object, String, String, String) 已过时。 (从 WebPart 继承。)
受保护方法 RegisterInterface(String, String, Int32, ConnectionRunAt, Object, String, String, String, Boolean) 已过时。 (从 WebPart 继承。)
受保护方法 RegisterWorkItem 已过时。 (从 WebPart 继承。)
受保护方法 RegisterWorkItemCallback 已过时。 (从 WebPart 继承。)
受保护方法 RemovedControl (从 Control 继承。)
受保护方法 Render 基础结构。Inherited from T:Microsoft.SharePoint.WebPartPages.WebPart. (覆盖 WebPartRender(HtmlTextWriter)。)
公共方法 RenderBeginTag (从 Panel 继承。)
受保护方法 RenderChildren 基础结构。Outputs the content of a server control's children to a provided HtmlTextWriter object, which writes the content to be rendered on the client. (覆盖 Control.RenderChildren(HtmlTextWriter)。)
受保护方法 RenderContents (从 WebControl 继承。)
公共方法 RenderControl(HtmlTextWriter) (从 Control 继承。)
受保护方法 RenderControl(HtmlTextWriter, ControlAdapter) (从 Control 继承。)
公共方法 RenderEndTag (从 Panel 继承。)
受保护方法 RenderWebPart (从 WebPart 继承。)
受保护方法 RenderWorkItemTimeout 已过时。 (从 WebPart 继承。)
受保护方法 ReplaceTokens (从 WebPart 继承。)
受保护方法 RequiresWebPartClientScript (从 WebPart 继承。)
受保护方法 ResolveAdapter (从 Control 继承。)
公共方法 ResolveClientUrl (从 Control 继承。)
公共方法 ResolveUrl (从 Control 继承。)
受保护方法 SaveControlState (从 Control 继承。)
受保护方法 SaveViewState Saves the view-state of the ReportViewerWebPart. (覆盖 WebControl.SaveViewState()。)
公共方法 SetBasePermissionsForSandboxAppDomain Sets the base permissions for the sandbox application domain with the supplied permission set. This method is only applicable when ReportPath is set to a report in a SharePoint document library.
受保护方法 SetDesignModeState (从 Control 继承。)
受保护方法 SetPersonalizationDirty (从 WebPart 继承。)
公共方法 SetRenderMethodDelegate (从 Control 继承。)
公共方法 SetRowProvider Specifies the row provider Web Part when this Web Part is configured to consume data from that Web Part.
受保护方法 SetWebPartPageComponent (从 WebPart 继承。)
公共方法 ShouldSerializeAllowConnect (从 WebPart 继承。)
公共方法 ShouldSerializeAllowEdit (从 WebPart 继承。)
公共方法 ShouldSerializeAllowHide (从 WebPart 继承。)
公共方法 ShouldSerializeAllowMinimize (从 WebPart 继承。)
公共方法 ShouldSerializeAllowRemove (从 WebPart 继承。)
公共方法 ShouldSerializeAllowZoneChange (从 WebPart 继承。)
公共方法 ShouldSerializeConnectionID (从 WebPart 继承。)
公共方法 ShouldSerializeConnections (从 WebPart 继承。)
公共方法 ShouldSerializeDescription (从 WebPart 继承。)
公共方法 ShouldSerializeDetailLink (从 WebPart 继承。)
公共方法 ShouldSerializeDir (从 WebPart 继承。)
公共方法 ShouldSerializeExportControlledProperties (从 WebPart 继承。)
公共方法 ShouldSerializeFrameState (从 WebPart 继承。)
公共方法 ShouldSerializeFrameType (从 WebPart 继承。)
公共方法 ShouldSerializeHeight (从 WebPart 继承。)
公共方法 ShouldSerializeHelpLink (从 WebPart 继承。)
公共方法 ShouldSerializeHelpMode (从 WebPart 继承。)
公共方法 ShouldSerializeID (从 WebPart 继承。)
公共方法 ShouldSerializeIsIncluded (从 WebPart 继承。)
公共方法 ShouldSerializeIsIncludedFilter (从 WebPart 继承。)
公共方法 ShouldSerializeIsVisible (从 WebPart 继承。)
公共方法 ShouldSerializeMissingAssembly (从 WebPart 继承。)
公共方法 ShouldSerializePartImageLarge (从 WebPart 继承。)
公共方法 ShouldSerializePartImageSmall (从 WebPart 继承。)
公共方法 ShouldSerializePartOrder (从 WebPart 继承。)
公共方法 ShouldSerializeTitle (从 WebPart 继承。)
公共方法 ShouldSerializeWidth (从 WebPart 继承。)
公共方法 ShouldSerializeZoneID (从 WebPart 继承。)
公共方法 ToString (从 Object 继承。)
受保护方法 TrackViewState (从 WebPart 继承。)

页首

事件

  名称 说明
公共事件 DataBinding (从 Control 继承。)
公共事件 Disposed (从 Control 继承。)
公共事件 Init (从 Control 继承。)
公共事件 Load (从 Control 继承。)
公共事件 PreRender (从 Control 继承。)
公共事件 Unload (从 Control 继承。)

页首

显式接口实现

  名称 说明
显式接口实现私有方法 IScriptControl.GetScriptDescriptors
显式接口实现私有方法 IScriptControl.GetScriptReferences
显式接口实现私有方法 IParserAccessor.AddParsedSubObject (从 Control 继承。)
显式接口实现私有属性 IControlBuilderAccessor.ControlBuilder (从 Control 继承。)
显式接口实现私有属性 IDataBindingsAccessor.DataBindings (从 Control 继承。)
显式接口实现私有属性 IExpressionsAccessor.Expressions (从 Control 继承。)
显式接口实现私有方法 System#Web#UI#IAttributeAccessor#GetAttribute (从 WebPart 继承。)
显式接口实现私有方法 Microsoft#SharePoint#WebPartPages#IConnectionData#GetData (从 WebPart 继承。)
显式接口实现私有方法 IControlDesignerAccessor.GetDesignModeState (从 Control 继承。)
显式接口实现私有方法 Microsoft#SharePoint#WebPartPages#IConnectionData#GetRequiresData (从 WebPart 继承。)
显式接口实现私有属性 IDataBindingsAccessor.HasDataBindings (从 Control 继承。)
显式接口实现私有属性 IExpressionsAccessor.HasExpressions (从 Control 继承。)
显式接口实现私有方法 ICompositeControlDesignerAccessor.RecreateChildControls (从 Part 继承。)
显式接口实现私有方法 System#Web#UI#IAttributeAccessor#SetAttribute (从 WebPart 继承。)
显式接口实现私有方法 IControlDesignerAccessor.SetDesignModeState (从 Control 继承。)
显式接口实现私有方法 IControlDesignerAccessor.SetOwnerControl (从 Control 继承。)
显式接口实现私有属性 IControlDesignerAccessor.UserData (从 Control 继承。)

页首

注释

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 IWebPartRow Web Part can provide a report path to the ReportViewerWebPart, and an IFilterValues Web Part can provide a report parameter to the ReportViewerWebPart.

线程安全

此类型的任何公共 static(在 Visual Basic 中为 Shared) 成员都是线程安全的。不保证所有实例成员都是线程安全的。