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