Udostępnij za pośrednictwem


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 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 value that indicates whether the ReportViewer control renders reports asynchronously.
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 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 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  (Inherited from WebControl.)
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.  
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 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 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 prompt area.
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 Document Map button is visible on the toolbar.
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 Prompt Area button is visible on the toolbar.
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 ShowZoomControl Gets or sets a value that indicates whether the Zoom text 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 Style  (Inherited from WebControl.)
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 Gets or sets the color of a toolbar item while it is being pressed.
Public property ToolBarItemPressedBorderStyle Gets or sets the border style of the toolbar item while it is being selected.
Public property ToolBarItemPressedBorderWidth Gets or sets the border width of a toolbar item while it is being selected.
Public property ToolBarItemPressedHoverBackColor Gets or sets the background color of toolbar item while the mouse pointer is over the item.
Public property ToolTip  (Inherited from WebControl.)
Public property UniqueID  (Inherited from Control.)
Public property Visible  (Inherited from Control.)
Public property WaitMessageFont Gets the font for the message that is displayed while the report is being executed.
Public property Width  (Inherited from WebControl.)
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  (Inherited from WebControl.)
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 FindControl  Overloaded. (Inherited from Control.)
Public method Focus  (Inherited from Control.)
Public method GetHashCode  (Inherited from Object.)
Public method GetType  (Inherited from Object.)
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 methodms254549.static(en-us,VS.90).gif ReferenceEquals  (Inherited from Object.)
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 ResolveClientUrl  (Inherited from Control.)
Public method ResolveUrl  (Inherited from 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 ClearChildControlState  (Inherited from Control.)
Protected method ClearChildState  (Inherited from Control.)
Protected method ClearChildViewState  (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.
Public event Sort Occurs when the user activates a sort on the report data.
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 implementationMethod System.Web.UI.IAttributeAccessor.GetAttribute  (Inherited from WebControl.)
Explicit interface implementationMethod System.Web.UI.IAttributeAccessor.SetAttribute  (Inherited from WebControl.)
Explicit interface implementationMethod System.Web.UI.IControlDesignerAccessor.GetDesignModeState  (Inherited from Control.)
Explicit interface implementationMethod System.Web.UI.IControlDesignerAccessor.SetDesignModeState  (Inherited from Control.)
Explicit interface implementationMethod System.Web.UI.IControlDesignerAccessor.SetOwnerControl  (Inherited from Control.)
Explicit interface implementationMethod System.Web.UI.IParserAccessor.AddParsedSubObject  (Inherited from Control.)
Explicit interface implementationMethod System.Web.UI.IPostBackEventHandler.RaisePostBackEvent  
Explicit interface implementationMethod System.Web.UI.WebControls.ICompositeControlDesignerAccessor.RecreateChildControls  (Inherited from CompositeControl.)
Explicit interface implementationProperty System.Web.UI.IControlBuilderAccessor.ControlBuilder  (Inherited from Control.)
Explicit interface implementationProperty System.Web.UI.IControlDesignerAccessor.UserData  (Inherited from Control.)
Explicit interface implementationProperty System.Web.UI.IDataBindingsAccessor.DataBindings  (Inherited from Control.)
Explicit interface implementationProperty System.Web.UI.IDataBindingsAccessor.HasDataBindings  (Inherited from Control.)
Explicit interface implementationProperty System.Web.UI.IExpressionsAccessor.Expressions  (Inherited from Control.)
Explicit interface implementationProperty System.Web.UI.IExpressionsAccessor.HasExpressions  (Inherited from Control.)

Top

See Also

Reference

ReportViewer Class
Microsoft.Reporting.WebForms Namespace