Classe ReportViewerWebPart
Represents the Report Viewer Web Part.
Hierarquia de herança
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
Namespace: Microsoft.ReportingServices.SharePoint.UI.WebParts
Assembly: Microsoft.ReportingServices.SharePoint.UI.WebParts (em Microsoft.ReportingServices.SharePoint.UI.WebParts.dll)
Sintaxe
'Declaração
Public Class ReportViewerWebPart _
Inherits WebPart _
Implements IScriptControl
'Uso
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
O tipo ReportViewerWebPart expõe os membros a seguir.
Construtores
Nome | Descrição | |
---|---|---|
ReportViewerWebPart | Initializes a new instance of the ReportViewerWebPart class. |
Início
Propriedades
Nome | Descrição | |
---|---|---|
AccessKey | (Herdado de WebControl.) | |
Adapter | (Herdado de Control.) | |
AllowClose | (Herdado de WebPart.) | |
AllowConnect | (Herdado de WebPart.) | |
AllowEdit | (Herdado de WebPart.) | |
AllowHide | (Herdado de WebPart.) | |
AllowMinimize | (Herdado de WebPart.) | |
AllowRemove | Obsoleto. (Herdado de WebPart.) | |
AllowZoneChange | (Herdado de WebPart.) | |
AppRelativeTemplateSourceDirectory | (Herdado de 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 | (Herdado de WebControl.) | |
AuthorizationFilter | (Herdado de 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 | (Herdado de WebControl.) | |
BackImageUrl | (Herdado de Panel.) | |
BindingContainer | (Herdado de Control.) | |
BorderColor | (Herdado de WebControl.) | |
BorderStyle | (Herdado de WebControl.) | |
BorderWidth | (Herdado de WebControl.) | |
BrowserDesignMode | Obsoleto. (Herdado de WebPart.) | |
CacheType | (Herdado de WebPart.) | |
Caption | Obsoleto. (Herdado de WebPart.) | |
CatalogIconImageUrl | (Herdado de WebPart.) | |
ChildControlsCreated | (Herdado de Control.) | |
ChromeState | (Herdado de WebPart.) | |
ChromeType | (Herdado de WebPart.) | |
ClassResourcePath | (Herdado de WebPart.) | |
ClientID | (Herdado de Control.) | |
ClientIDSeparator | (Herdado de Control.) | |
ClientName | (Herdado de WebPart.) | |
ConnectErrorMessage | (Herdado de WebPart.) | |
ConnectionID | (Herdado de WebPart.) | |
Connections | (Herdado de WebPart.) | |
ContainerWidth | Obsoleto. (Herdado de WebPart.) | |
Context | (Herdado de Control.) | |
Controls | (Herdado de Part.) | |
ControlStyle | (Herdado de WebControl.) | |
ControlStyleCreated | (Herdado de WebControl.) | |
CssClass | (Herdado de WebControl.) | |
CssStyleSheet | (Herdado de WebPart.) | |
DefaultButton | (Herdado de Panel.) | |
Description | (Herdado de WebPart.) | |
DesignMode | (Herdado de Control.) | |
DetailLink | Obsoleto. (Herdado de WebPart.) | |
Dir | Obsoleto. (Herdado de WebPart.) | |
Direction | (Herdado de WebPart.) | |
DisplayTitle | (Herdado de 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 | Obsoleto. (Herdado de WebPart.) | |
EffectiveStorage | (Herdado de WebPart.) | |
EffectiveTitle | (Herdado de WebPart.) | |
Enabled | (Herdado de WebControl.) | |
EnableTheming | (Herdado de WebControl.) | |
EnableViewState | (Herdado de Control.) | |
Events | (Herdado de Control.) | |
ExportControlledProperties | Obsoleto. (Herdado de WebPart.) | |
ExportMode | (Herdado de WebPart.) | |
Font | (Herdado de WebControl.) | |
ForeColor | (Herdado de WebControl.) | |
FrameState | Obsoleto. (Herdado de WebPart.) | |
FrameType | Obsoleto. (Herdado de WebPart.) | |
GroupingText | (Herdado de Panel.) | |
HasAttributes | (Herdado de WebControl.) | |
HasChildViewState | (Herdado de Control.) | |
HasSharedData | (Herdado de WebPart.) | |
HasUserData | (Herdado de WebPart.) | |
Height | (Herdado de WebPart.) | |
HelpLink | Obsoleto. (Herdado de WebPart.) | |
HelpMode | (Herdado de WebPart.) | |
HelpUrl | (Herdado de WebPart.) | |
Hidden | (Herdado de WebPart.) | |
HorizontalAlign | (Herdado de Panel.) | |
HyperlinkTarget | Gets or sets the target frame for displaying linked content within the current report. | |
ID | (Herdado de WebPart.) | |
IdSeparator | (Herdado de Control.) | |
ImportErrorMessage | (Herdado de WebPart.) | |
IsChildControlStateCleared | (Herdado de Control.) | |
IsClosed | (Herdado de WebPart.) | |
IsEnabled | (Herdado de WebControl.) | |
IsIncluded | Obsoleto. (Herdado de WebPart.) | |
IsIncludedFilter | Obsoleto. (Herdado de WebPart.) | |
IsShared | (Herdado de WebPart.) | |
IsStandalone | (Herdado de WebPart.) | |
IsStatic | (Herdado de WebPart.) | |
IsTrackingViewState | (Herdado de Control.) | |
IsViewStateEnabled | (Herdado de Control.) | |
IsVisible | Obsoleto. (Herdado de WebPart.) | |
KeepSessionAlive | Gets or sets a Boolean value that indicates whether the ReportViewerWebPart should keep the user session from expiring. | |
LoadViewStateByID | (Herdado de Control.) | |
MissingAssembly | Obsoleto. (Herdado de WebPart.) | |
NamingContainer | (Herdado de Control.) | |
OverflowAuto | (Herdado de 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 | (Herdado de Control.) | |
Parent | (Herdado de Control.) | |
PartImageLarge | Obsoleto. (Herdado de WebPart.) | |
PartImageSmall | Obsoleto. (Herdado de WebPart.) | |
PartOrder | Obsoleto. (Herdado de WebPart.) | |
Permissions | Obsoleto. (Herdado de 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 | (Herdado de 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 | (Herdado de WebPart.) | |
ScrollBars | (Herdado de Panel.) | |
SerializeAll | (Herdado de WebPart.) | |
SerializedAttachedPropertiesShared | (Herdado de WebPart.) | |
SerializedAttachedPropertiesUser | (Herdado de WebPart.) | |
ServerRelativeClassResourcePath | (Herdado de WebPart.) | |
ShouldValidate | (Herdado de WebPart.) | |
Site | (Herdado de Control.) | |
SkinID | (Herdado de WebControl.) | |
StorageKey | (Herdado de WebPart.) | |
Style | (Herdado de WebControl.) | |
Subtitle | (Herdado de WebPart.) | |
SuppressWebPartChrome | (Herdado de WebPart.) | |
TabIndex | (Herdado de WebControl.) | |
TagKey | (Herdado de WebControl.) | |
TagName | (Herdado de WebControl.) | |
TemplateControl | (Herdado de Control.) | |
TemplateSourceDirectory | (Herdado de Control.) | |
Title | Gets or sets the title string of the ReportViewerWebPart. (Substitui WebPartTitle()()()().) | |
TitleIconImageUrl | (Herdado de WebPart.) | |
TitleUrl | (Herdado de 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 | (Herdado de WebControl.) | |
UniqueID | (Herdado de Control.) | |
UnknownXmlElements | (Herdado de WebPart.) | |
UseDefaultStyles | (Herdado de WebPart.) | |
Verbs | (Herdado de WebPart.) | |
ViewState | (Herdado de Control.) | |
ViewStateIgnoresCase | (Herdado de Control.) | |
Visible | (Herdado de Control.) | |
WebBrowsableObject | (Herdado de WebPart.) | |
WebPartManager | (Herdado de WebPart.) | |
WebPartMenu | (Herdado de WebPart.) | |
Width | (Herdado de WebPart.) | |
WorkItemTimeout | Obsoleto. (Herdado de WebPart.) | |
Wrap | (Herdado de Panel.) | |
Zone | (Herdado de WebPart.) | |
ZoneID | (Herdado de WebPart.) | |
ZoneIndex | (Herdado de WebPart.) |
Início
Métodos
Nome | Descrição | |
---|---|---|
AddAttributesToRender | (Herdado de Panel.) | |
AddedControl | (Herdado de Control.) | |
AddParameterProvider | Specifies the parameter provider Web Part when this Web Part is configured to consume data from that Web Part. | |
AddParsedSubObject | (Herdado de WebPart.) | |
AfterDeserialize | (Herdado de WebPart.) | |
ApplyStyle | (Herdado de WebControl.) | |
ApplyStyleSheetSkin | (Herdado de Control.) | |
BuildProfileTree | (Herdado de Control.) | |
CanRunAt | Obsoleto. (Herdado de WebPart.) | |
ClearChildControlState | (Herdado de Control.) | |
ClearChildState | (Herdado de Control.) | |
ClearChildViewState | (Herdado de Control.) | |
CopyBaseAttributes | (Herdado de WebControl.) | |
CreateChildControls | Infraestrutura. Creates the child controls of the ReportViewerWebPart. (Substitui Control. . :: . .CreateChildControls() () () ().) | |
CreateControlCollection | (Herdado de Control.) | |
CreateControlStyle | (Herdado de Panel.) | |
CreateEditorParts | (Herdado de WebPart.) | |
CreateWebPartMenu | (Herdado de WebPart.) | |
DataBind() () () () | (Herdado de Part.) | |
DataBind(Boolean) | (Herdado de Control.) | |
DataBindChildren | (Herdado de Control.) | |
Dispose | (Herdado de WebPart.) | |
EnsureChildControls | (Herdado de Control.) | |
EnsureID | (Herdado de Control.) | |
EnsureInterfaces | Obsoleto. (Herdado de WebPart.) | |
Equals | (Herdado de Object.) | |
Finalize | (Herdado de Object.) | |
FindControl(String) | (Herdado de Control.) | |
FindControl(String, Int32) | (Herdado de Control.) | |
Focus | (Herdado de Control.) | |
GetCustomBuilder | (Herdado de WebPart.) | |
GetData | Obsoleto. (Herdado de WebPart.) | |
GetDesignModeState | (Herdado de Control.) | |
GetDesignTimeFooter | (Herdado de WebPart.) | |
GetDesignTimeHeader | (Herdado de WebPart.) | |
GetHashCode | (Herdado de Object.) | |
GetInitEventArgs | Obsoleto. (Herdado de WebPart.) | |
GetParameters | Returns the parameters of the current report in the ReportViewerWebPart. | |
GetRequiresData | Obsoleto. (Herdado de 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. (Substitui WebPartGetToolParts()()()().) | |
GetType | (Herdado de Object.) | |
HasControls | (Herdado de Control.) | |
HasEvents | (Herdado de Control.) | |
IsLiteralContent | (Herdado de Control.) | |
LoadControlState | (Herdado de Control.) | |
LoadResource | (Herdado de WebPart.) | |
LoadViewState | Restores view-state information from a previous request that was saved with the SaveViewState method. (Substitui WebPartLoadViewState(Object).) | |
MapPathSecure | (Herdado de Control.) | |
MemberwiseClone | (Herdado de Object.) | |
MergeStyle | (Herdado de WebControl.) | |
NotifyWorkItemComplete | Obsoleto. (Herdado de WebPart.) | |
OnBubbleEvent | (Herdado de Control.) | |
OnClosing | (Herdado de WebPart.) | |
OnConnectModeChanged | (Herdado de WebPart.) | |
OnDataBinding | (Herdado de WebPart.) | |
OnDeleting | (Herdado de WebPart.) | |
OnEditModeChanged | (Herdado de WebPart.) | |
OnInit | Raises the Init event. (Substitui WebPartOnInit(EventArgs).) | |
OnLoad | (Herdado de Control.) | |
OnPreRender | Raises the PreRender event. (Substitui WebPartOnPreRender(EventArgs).) | |
OnUnload | (Herdado de WebPart.) | |
OpenFile | (Herdado de Control.) | |
PartCacheInvalidate()()()() | (Herdado de WebPart.) | |
PartCacheInvalidate(Storage) | (Herdado de WebPart.) | |
PartCacheInvalidate(Storage, String) | (Herdado de WebPart.) | |
PartCacheRead | (Herdado de WebPart.) | |
PartCacheWrite | (Herdado de WebPart.) | |
PartCommunicationConnect | Obsoleto. (Herdado de WebPart.) | |
PartCommunicationInit | Obsoleto. (Herdado de WebPart.) | |
PartCommunicationMain | Obsoleto. (Herdado de WebPart.) | |
RaiseBubbleEvent | (Herdado de Control.) | |
RegisterInterface(String, String, Int32, ConnectionRunAt, Object, String, String, String) | Obsoleto. (Herdado de WebPart.) | |
RegisterInterface(String, String, Int32, ConnectionRunAt, Object, String, String, String, Boolean) | Obsoleto. (Herdado de WebPart.) | |
RegisterWorkItem | Obsoleto. (Herdado de WebPart.) | |
RegisterWorkItemCallback | Obsoleto. (Herdado de WebPart.) | |
RemovedControl | (Herdado de Control.) | |
Render | Infraestrutura. Inherited from T:Microsoft.SharePoint.WebPartPages.WebPart. (Substitui WebPartRender(HtmlTextWriter).) | |
RenderBeginTag | (Herdado de Panel.) | |
RenderChildren | Infraestrutura. Outputs the content of a server control's children to a provided HtmlTextWriter object, which writes the content to be rendered on the client. (Substitui Control. . :: . .RenderChildren(HtmlTextWriter).) | |
RenderContents | (Herdado de WebControl.) | |
RenderControl(HtmlTextWriter) | (Herdado de Control.) | |
RenderControl(HtmlTextWriter, ControlAdapter) | (Herdado de Control.) | |
RenderEndTag | (Herdado de Panel.) | |
RenderWebPart | (Herdado de WebPart.) | |
RenderWorkItemTimeout | Obsoleto. (Herdado de WebPart.) | |
ReplaceTokens | (Herdado de WebPart.) | |
RequiresWebPartClientScript | (Herdado de WebPart.) | |
ResolveAdapter | (Herdado de Control.) | |
ResolveClientUrl | (Herdado de Control.) | |
ResolveUrl | (Herdado de Control.) | |
SaveControlState | (Herdado de Control.) | |
SaveViewState | Saves the view-state of the ReportViewerWebPart. (Substitui 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 | (Herdado de Control.) | |
SetPersonalizationDirty | (Herdado de WebPart.) | |
SetRenderMethodDelegate | (Herdado de Control.) | |
SetRowProvider | Specifies the row provider Web Part when this Web Part is configured to consume data from that Web Part. | |
SetWebPartPageComponent | (Herdado de WebPart.) | |
ShouldSerializeAllowConnect | (Herdado de WebPart.) | |
ShouldSerializeAllowEdit | (Herdado de WebPart.) | |
ShouldSerializeAllowHide | (Herdado de WebPart.) | |
ShouldSerializeAllowMinimize | (Herdado de WebPart.) | |
ShouldSerializeAllowRemove | (Herdado de WebPart.) | |
ShouldSerializeAllowZoneChange | (Herdado de WebPart.) | |
ShouldSerializeConnectionID | (Herdado de WebPart.) | |
ShouldSerializeConnections | (Herdado de WebPart.) | |
ShouldSerializeDescription | (Herdado de WebPart.) | |
ShouldSerializeDetailLink | (Herdado de WebPart.) | |
ShouldSerializeDir | (Herdado de WebPart.) | |
ShouldSerializeExportControlledProperties | (Herdado de WebPart.) | |
ShouldSerializeFrameState | (Herdado de WebPart.) | |
ShouldSerializeFrameType | (Herdado de WebPart.) | |
ShouldSerializeHeight | (Herdado de WebPart.) | |
ShouldSerializeHelpLink | (Herdado de WebPart.) | |
ShouldSerializeHelpMode | (Herdado de WebPart.) | |
ShouldSerializeID | (Herdado de WebPart.) | |
ShouldSerializeIsIncluded | (Herdado de WebPart.) | |
ShouldSerializeIsIncludedFilter | (Herdado de WebPart.) | |
ShouldSerializeIsVisible | (Herdado de WebPart.) | |
ShouldSerializeMissingAssembly | (Herdado de WebPart.) | |
ShouldSerializePartImageLarge | (Herdado de WebPart.) | |
ShouldSerializePartImageSmall | (Herdado de WebPart.) | |
ShouldSerializePartOrder | (Herdado de WebPart.) | |
ShouldSerializeTitle | (Herdado de WebPart.) | |
ShouldSerializeWidth | (Herdado de WebPart.) | |
ShouldSerializeZoneID | (Herdado de WebPart.) | |
ToString | (Herdado de Object.) | |
TrackViewState | (Herdado de WebPart.) |
Início
Eventos
Nome | Descrição | |
---|---|---|
DataBinding | (Herdado de Control.) | |
Disposed | (Herdado de Control.) | |
Init | (Herdado de Control.) | |
Load | (Herdado de Control.) | |
PreRender | (Herdado de Control.) | |
Unload | (Herdado de Control.) |
Início
Implementações de interfaces explícitas
Nome | Descrição | |
---|---|---|
IScriptControl. . :: . .GetScriptDescriptors | ||
IScriptControl. . :: . .GetScriptReferences | ||
IParserAccessor. . :: . .AddParsedSubObject | (Herdado de Control.) | |
IControlBuilderAccessor. . :: . .ControlBuilder | (Herdado de Control.) | |
IDataBindingsAccessor. . :: . .DataBindings | (Herdado de Control.) | |
IExpressionsAccessor. . :: . .Expressions | (Herdado de Control.) | |
System#Web#UI#IAttributeAccessor#GetAttribute | (Herdado de WebPart.) | |
Microsoft#SharePoint#WebPartPages#IConnectionData#GetData | (Herdado de WebPart.) | |
IControlDesignerAccessor. . :: . .GetDesignModeState | (Herdado de Control.) | |
Microsoft#SharePoint#WebPartPages#IConnectionData#GetRequiresData | (Herdado de WebPart.) | |
IDataBindingsAccessor. . :: . .HasDataBindings | (Herdado de Control.) | |
IExpressionsAccessor. . :: . .HasExpressions | (Herdado de Control.) | |
ICompositeControlDesignerAccessor. . :: . .RecreateChildControls | (Herdado de Part.) | |
System#Web#UI#IAttributeAccessor#SetAttribute | (Herdado de WebPart.) | |
IControlDesignerAccessor. . :: . .SetDesignModeState | (Herdado de Control.) | |
IControlDesignerAccessor. . :: . .SetOwnerControl | (Herdado de Control.) | |
IControlDesignerAccessor. . :: . .UserData | (Herdado de Control.) |
Início
Comentários
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.
Segurança de thread
Qualquer membro público static (Shared no Visual Basic) desse tipo é seguro para threads. Não há garantia de que qualquer membro de instância seja seguro para threads.