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