Поделиться через


Класс 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.

Безопасность многопоточности

Любые открытые статический (Shared в Visual Basic) элементы этого типа потокобезопасны. Потокобезопасность с элементами экземпляров не гарантируется.