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


ReportViewer Members

Encapsulates the methods and properties used for the ReportViewer control.

The following tables list the members exposed by the ReportViewer type.

Public Constructors

  Name Description
Public method ReportViewer Initializes a new instance of the ReportViewer class.

Top

Public Fields

  Name Description
Public field ms254549.static(en-us,VS.100).gif MaximumPageCount A constant that represents the maximum number of pages in a report when the current page count mode is Estimate.

Top

Public Properties

(see also Protected Properties )

  Name Description
Public property AccessKey  (Inherited from WebControl.)
Public property AppRelativeTemplateSourceDirectory  (Inherited from Control.)
Public property 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 being loaded.
Public property Attributes  (Inherited from WebControl.)
Public property BackColor Overridden. Gets or sets the background color of the control's report area.
Public property BindingContainer  (Inherited from Control.)
Public property BorderColor  (Inherited from WebControl.)
Public property BorderStyle  (Inherited from WebControl.)
Public property BorderWidth  (Inherited from WebControl.)
Public property ClientID  (Inherited from Control.)
Public property ClientIDMode  (Inherited from Control.)
Public property Controls  (Inherited from CompositeControl.)
Public property ControlStyle  (Inherited from WebControl.)
Public property ControlStyleCreated  (Inherited from WebControl.)
Public property CssClass  (Inherited from WebControl.)
Public property CurrentPage Gets or sets the current page of the ReportViewer control's active report.
Public property DataItemContainer  (Inherited from Control.)
Public property DataKeysContainer  (Inherited from Control.)
Public property ms254549.static(en-us,VS.100).gif DisabledCssClass  (Inherited from WebControl.)
Public property DocumentMapCollapsed Gets or sets the collapsed state of the document map.
Public property DocumentMapWidth Gets or sets the width of the document map.
Public property Enabled  (Inherited from WebControl.)
Public property EnableTheming  (Inherited from WebControl.)
Public property EnableViewState  (Inherited from Control.)
Public property ExportContentDisposition Gets or sets a value that indicates whether content should be present in-line or as an attachment.
Public property Font  (Inherited from WebControl.)
Public property ForeColor  (Inherited from WebControl.)
Public property HasAttributes  (Inherited from WebControl.)
Public property Height Overridden. Gets or sets the height of the control.
Public property HyperlinkTarget Gets or sets the target window or frame for the Web page content that is returned when a hyperlink in the report is clicked.
Public property ID Overridden. Specifies the ID of the control.
Public property InteractiveDeviceInfos Gets the DeviceInfoCollection object that the ReportViewer control uses to render the report in the report area as HTML.
Public property InteractivityPostBackMode Gets or sets an InteractivityPostBackMode value that indicates the postback mode of the ReportViewer control.
Public property InternalBorderColor Gets or sets the internal border color of the control.
Public property InternalBorderStyle Gets or sets the internal border style of the control.
Public property InternalBorderWidth Gets or sets the width of the internal border of the control.
Public property KeepSessionAlive Gets or sets a Boolean value that indicates whether to keep the user session from expiring as long as the Web page is displayed in the browser.
Public property LinkActiveColor Gets or sets the color of an active link in the control.
Public property LinkActiveHoverColor Gets or sets the color of the active link in the control while the mouse pointer is over the link.
Public property LinkDisabledColor Gets or sets the color of a disabled link in the control.
Public property LocalReport Gets the instance of the Report class that is used when the ProcessingMode for the ReportViewer control is set to Local.
Public property NamingContainer  (Inherited from Control.)
Public property Page  (Inherited from Control.)
Public property PageCountMode Gets or sets a PageCountMode enumeration value that indicates the default page count mode to use when rendering a report in the report area.
Public property Parent  (Inherited from Control.)
Public property ProcessingMode Gets or sets the processing mode of the ReportViewer control.
Public property PromptAreaCollapsed Gets or sets the collapsed state of the parameter prompt area or the credentials prompt area.
Public property RenderingCompatibility  (Inherited from Control.)
Public property ReportAreaContentType Gets a ReportAreaContent object that indicates the current content type of the report area.
Public property SearchState Gets the search text and the start page of the current report search operation.
Public property ServerReport Gets the instance of the Report class that is used when the ProcessingMode for the ReportViewer control is set to Remote.
Public property ShowBackButton Gets or sets a value that indicates whether the Back button is visible on the toolbar.
Public property ShowCredentialPrompts Gets or sets a value that indicates whether to display a prompt for user credentials.
Public property ShowDocumentMapButton Gets or sets a value that indicates whether the button that shows and collapses the document map is visible on the split bar.
Public property ShowExportControls Gets or sets a value that indicates whether the Export control is visible on the toolbar.
Public property ShowFindControls Gets or sets a value that indicates whether the Find text box is visible on the toolbar.
Public property ShowPageNavigationControls Gets or sets a value that indicates whether the page navigation controls are visible on the toolbar.
Public property ShowParameterPrompts Gets or sets a value that indicates whether parameter prompts are displayed.
Public property ShowPrintButton Gets or sets a value that indicates whether Print button is visible on the toolbar.
Public property ShowPromptAreaButton Gets or sets a value that indicates whether the button that shows and collapses the prompt area is visible on the split bar.
Public property ShowRefreshButton Gets or sets a value that indicates whether the Refresh button is visible.
Public property ShowReportBody Gets or sets a value that indicates whether the report body is visible on the control.
Public property ShowToolBar Gets or sets a value that indicates whether the toolbar is visible on the control.
Public property ShowWaitControlCancelLink Gets or sets a Boolean value that controls whether to display the Cancel link in the wait control.
Public property ShowZoomControl Gets or sets a value that indicates whether the Zoom list box is visible.
Public property Site  (Inherited from Control.)
Public property SizeToReportContent Gets or sets a value that indicates whether the ReportViewer control should automatically resize to accommodate report content.
Public property SkinID  (Inherited from WebControl.)
Public property SplitterBackColor Gets or sets the background color of the document map split bar and the prompt area split bar.
Public property Style  (Inherited from WebControl.)
Public property SupportsDisabledAttribute  (Inherited from CompositeControl.)
Public property TabIndex  (Inherited from WebControl.)
Public property TemplateControl  (Inherited from Control.)
Public property TemplateSourceDirectory  (Inherited from Control.)
Public property ToolBarItemBorderColor Gets or sets the border color of an item on the toolbar.
Public property ToolBarItemBorderStyle Gets or sets the border style of an item on the toolbar.
Public property ToolBarItemBorderWidth Gets or sets the width of the toolbar item border.
Public property ToolBarItemHoverBackColor Gets or sets the background color of toolbar item while the mouse pointer is over the item.
Public property ToolBarItemPressedBorderColor This property is no longer applicable and exists for backward compatibility. ReportViewer control no longer uses pressed buttons. Obsolete.
Public property ToolBarItemPressedBorderStyle This property is no longer applicable and exists for backward compatibility. The ReportViewer control no longer uses pressed buttons. Obsolete.
Public property ToolBarItemPressedBorderWidth This property is no longer applicable and exists for backward compatibility. The ReportViewer control no longer uses pressed buttons. Obsolete.
Public property ToolBarItemPressedHoverBackColor This property is no longer applicable and exists for backward compatibility. The ReportViewer control no longer uses pressed buttons. Obsolete.
Public property ToolTip  (Inherited from WebControl.)
Public property UniqueID  (Inherited from Control.)
Public property ViewStateMode  (Inherited from Control.)
Public property Visible  (Inherited from Control.)
Public property WaitControlDisplayAfter Gets or sets the delay in milliseconds before the wait control is displayed to the user when the report is loaded.
Public property WaitMessageFont Gets the font for the message that is displayed while the report is being executed.
Public property Width Overridden. Gets or sets the width of the control.
Public property ZoomMode Gets or sets the zoom mode of the control.
Public property ZoomPercent Gets or sets the zoom percentage to use when displaying the report.

Top

Protected Properties

  Name Description
Protected property Adapter  (Inherited from Control.)
Protected property ChildControlsCreated  (Inherited from Control.)
Protected property ClientIDSeparator  (Inherited from Control.)
Protected property Context  (Inherited from Control.)
Protected property DesignMode  (Inherited from Control.)
Protected property Events  (Inherited from Control.)
Protected property HasChildViewState  (Inherited from Control.)
Protected property IdSeparator  (Inherited from Control.)
Protected property IsChildControlStateCleared  (Inherited from Control.)
Protected property IsEnabled  (Inherited from WebControl.)
Protected property IsTrackingViewState  (Inherited from Control.)
Protected property IsViewStateEnabled  (Inherited from Control.)
Protected property LoadViewStateByID  (Inherited from Control.)
Protected property TagKey Overridden.  
Protected property TagName  (Inherited from WebControl.)
Protected property ViewState  (Inherited from Control.)
Protected property ViewStateIgnoresCase  (Inherited from Control.)

Top

Public Methods

(see also Protected Methods )

  Name Description
Public method ApplyStyle  (Inherited from WebControl.)
Public method ApplyStyleSheetSkin  (Inherited from Control.)
Public method CopyBaseAttributes  (Inherited from WebControl.)
Public method DataBind  Overloaded. (Inherited from CompositeControl.)
Public method Dispose Overridden.  
Public method Equals  Overloaded. (Inherited from Object.)
Public method Find Searches the report in the report area for the specified text string, starting from the specified page number.
Public method FindControl  Overloaded. (Inherited from Control.)
Public method Focus  (Inherited from Control.)
Public method GetHashCode  (Inherited from Object.)
Public method GetPageSettings Returns the page settings that are used to print the current report in the ReportViewer control.
Public method GetRouteUrl  Overloaded. (Inherited from Control.)
Public method GetType  (Inherited from Object.)
Public method GetUniqueIDRelativeTo  (Inherited from Control.)
Public method HasControls  (Inherited from Control.)
Public method JumpToBookmark Moves the focus of the report to the specified bookmark.
Public method JumpToDocumentMapId Moves the focus of the document map to the specified node.
Public method MergeStyle  (Inherited from WebControl.)
Public method PerformBack Navigates the ReportViewer control back to the parent report from a drillthrough report.
Public method ms254549.static(en-us,VS.100).gif ReferenceEquals  (Inherited from Object.)
Public method RegisterPostBackControl Registers the specified control with the ReportViewer control. The ReportViewer control displays the wait control when the registered control causes a postback.
Public method RenderBeginTag  (Inherited from WebControl.)
Public method RenderControl  Overloaded. (Inherited from Control.)
Public method RenderEndTag  (Inherited from WebControl.)
Public method Reset Resets the control to its default values.
Public method ResetPageSettings Reverts the page settings for the current report in the ReportViewer control to the settings in the report definition.
Public method ResolveClientUrl  (Inherited from Control.)
Public method ResolveUrl  (Inherited from Control.)
Public method SetPageSettings Sets the page settings that are used to print the current report in the ReportViewer control.
Public method SetRenderMethodDelegate  (Inherited from Control.)
Public method ToString  (Inherited from Object.)

Top

Protected Methods

  Name Description
Protected method AddAttributesToRender  (Inherited from WebControl.)
Protected method AddedControl  (Inherited from Control.)
Protected method AddParsedSubObject  (Inherited from Control.)
Protected method BuildProfileTree  (Inherited from Control.)
Protected method ClearCachedClientID  (Inherited from Control.)
Protected method ClearChildControlState  (Inherited from Control.)
Protected method ClearChildState  (Inherited from Control.)
Protected method ClearChildViewState  (Inherited from Control.)
Protected method ClearEffectiveClientIDMode  (Inherited from Control.)
Protected method CreateChildControls Overridden.  
Protected method CreateControlCollection  (Inherited from Control.)
Protected method CreateControlStyle Overridden.  
Protected method DataBind  Overloaded. (Inherited from Control.)
Protected method DataBindChildren  (Inherited from Control.)
Protected method EnsureChildControls  (Inherited from Control.)
Protected method EnsureID  (Inherited from Control.)
Protected method Finalize  (Inherited from Object.)
Protected method FindControl  Overloaded. (Inherited from Control.)
Protected method GetDesignModeState  (Inherited from Control.)
Protected method HasEvents  (Inherited from Control.)
Protected method IsLiteralContent  (Inherited from Control.)
Protected method LoadControlState  (Inherited from Control.)
Protected method LoadViewState Overridden.  
Protected method MapPathSecure  (Inherited from Control.)
Protected method MemberwiseClone  (Inherited from Object.)
Protected method OnBubbleEvent  (Inherited from Control.)
Protected method OnDataBinding  (Inherited from Control.)
Protected method OnInit Overridden.  
Protected method OnLoad  (Inherited from Control.)
Protected method OnPreRender Overridden.  
Protected method OnUnload  (Inherited from Control.)
Protected method OpenFile  (Inherited from Control.)
Protected method RaiseBubbleEvent  (Inherited from Control.)
Protected method RecreateChildControls  (Inherited from CompositeControl.)
Protected method RemovedControl  (Inherited from Control.)
Protected method Render Overridden.  
Protected method RenderChildren  (Inherited from Control.)
Protected method RenderContents  (Inherited from WebControl.)
Protected method RenderControl  Overloaded. (Inherited from Control.)
Protected method ResolveAdapter  (Inherited from Control.)
Protected method SaveControlState  (Inherited from Control.)
Protected method SaveViewState Overridden.  
Protected method SetDesignModeState  (Inherited from Control.)
Protected method TrackViewState  (Inherited from WebControl.)

Top

Public Events

  Name Description
Public event Back Occurs when a user navigates from a drillthrough report back to the parent report.
Public event BookmarkNavigation Occurs when a user browses to a bookmark in a report.
Public event DataBinding  (Inherited from Control.)
Public event Disposed  (Inherited from Control.)
Public event DocumentMapNavigation Occurs when a document map node is selected.
Public event Drillthrough Occurs when a drillthrough item is selected.
Public event Init  (Inherited from Control.)
Public event Load  (Inherited from Control.)
Public event PageNavigation Occurs when a user moves to a different page in a report.
Public event PreRender  (Inherited from Control.)
Public event ReportError Occurs when an error is found in the report.
Public event ReportRefresh Occurs when the report is refreshed.
Public event Search Occurs when the Find or Find Next button is clicked, or when a search operation is invoked programmatically.
Public event Sort Occurs when the user activates a sort on the report data.
Public event SubmittingDataSourceCredentials Occurs when the user submits new data source credentials using the data source prompt area.
Public event SubmittingParameterValues Occurs when report parameter values are submitted to the report server.
Public event Toggle Occurs when the user toggles the visibility of an item in the report.
Public event Unload  (Inherited from Control.)

Top

Explicit Interface Implementations

  Name Description
Explicit interface implementation Method System.Web.UI.IAttributeAccessor.GetAttribute  (Inherited from WebControl.)
Explicit interface implementation Method System.Web.UI.IAttributeAccessor.SetAttribute  (Inherited from WebControl.)
Explicit interface implementation Method System.Web.UI.IControlDesignerAccessor.GetDesignModeState  (Inherited from Control.)
Explicit interface implementation Method System.Web.UI.IControlDesignerAccessor.SetDesignModeState  (Inherited from Control.)
Explicit interface implementation Method System.Web.UI.IControlDesignerAccessor.SetOwnerControl  (Inherited from Control.)
Explicit interface implementation Method System.Web.UI.IParserAccessor.AddParsedSubObject  (Inherited from Control.)
Explicit interface implementation Method System.Web.UI.IScriptControl.GetScriptDescriptors  
Explicit interface implementation Method System.Web.UI.IScriptControl.GetScriptReferences  
Explicit interface implementation Method System.Web.UI.WebControls.ICompositeControlDesignerAccessor.RecreateChildControls  (Inherited from CompositeControl.)
Explicit interface implementation Property System.Web.UI.IControlBuilderAccessor.ControlBuilder  (Inherited from Control.)
Explicit interface implementation Property System.Web.UI.IControlDesignerAccessor.UserData  (Inherited from Control.)
Explicit interface implementation Property System.Web.UI.IDataBindingsAccessor.DataBindings  (Inherited from Control.)
Explicit interface implementation Property System.Web.UI.IDataBindingsAccessor.HasDataBindings  (Inherited from Control.)
Explicit interface implementation Property System.Web.UI.IExpressionsAccessor.Expressions  (Inherited from Control.)
Explicit interface implementation Property System.Web.UI.IExpressionsAccessor.HasExpressions  (Inherited from Control.)

Top

See Also

Reference

ReportViewer Class
Microsoft.Reporting.WebForms Namespace