Dundas.SharePoint.Charting.WebParts Send comments on this topic.
WebPart Class Members
See Also  Fields  Properties  Methods  Events
Dundas.SharePoint.WebParts Namespace : WebPart Class


The following tables list the members exposed by WebPart.

Protected Fields

  Name Description
Protected Field bindToDataDesignMode Whether is bound in design mode.  
Protected Field dataBindings Data binds collection.  
Protected Field errorSummary Error summary.  
Protected Field parameters Data parameters collection.  
Protected Field realtimeInterval Time interval in second, for real time callback update.  
Protected Field showDebugInfoRuntime Whether to show debug information.  
Protected Field showToolbar Whether to show toolbar.  
Top

Public Properties

  Name Description
Public Property AccessKey Gets or sets the access key that allows you to quickly navigate to the Web server control. (Inherited from System.Web.UI.WebControls.WebControl)
Public Property AllowClose Gets or sets a value indicating whether an end user can close a WebPart control on a Web page. (Inherited from System.Web.UI.WebControls.WebParts.WebPart)
Public Property AllowConnect Gets or sets a value that indicates whether the WebPart control allows other controls to form connections with it. (Inherited from System.Web.UI.WebControls.WebParts.WebPart)
Public Property AllowEdit Gets or sets a value indicating whether an end user can modify a WebPart control through the user interface (UI) provided by one or more EditorPart controls. (Inherited from System.Web.UI.WebControls.WebParts.WebPart)
Public Property AllowHide Gets or sets a value indicating whether end users are allowed to hide a WebPart control. (Inherited from System.Web.UI.WebControls.WebParts.WebPart)
Public Property AllowMinimize Gets or sets a value indicating whether end users can minimize a WebPart control. (Inherited from System.Web.UI.WebControls.WebParts.WebPart)
Public Property AllowZoneChange Gets or sets a value indicating whether a user can move a WebPart control between WebPartZoneBase zones. (Inherited from System.Web.UI.WebControls.WebParts.WebPart)
Public Property AppRelativeTemplateSourceDirectory Gets or sets the application-relative virtual directory of the Page or UserControl object that contains this control. (Inherited from System.Web.UI.Control)
Public Property Attributes Gets the collection of arbitrary attributes (for rendering only) that do not correspond to properties on the control. (Inherited from System.Web.UI.WebControls.WebControl)
Public Property AuthorizationFilter Gets or sets an arbitrary string to determine whether a WebPart control is authorized to be added to a page. (Inherited from System.Web.UI.WebControls.WebParts.WebPart)
Public Property BackColor Gets or sets the background color of the Web server control. (Inherited from System.Web.UI.WebControls.WebControl)
Public Property BackImageUrl Gets or sets the URL of the background image for the panel control. (Inherited from System.Web.UI.WebControls.Panel)
Public Property BindToDataDesignMode Gets or Sets flag to bind data in desing mode.  
Public Property BorderColor Gets or sets the border color of the Web control. (Inherited from System.Web.UI.WebControls.WebControl)
Public Property BorderStyle Gets or sets the border style of the Web server control. (Inherited from System.Web.UI.WebControls.WebControl)
Public Property BorderWidth Gets or sets the border width of the Web server control. (Inherited from System.Web.UI.WebControls.WebControl)
Public Property CatalogIconImageUrl Gets or sets the URL to an image that represents a Web Parts control in a catalog of controls. (Inherited from System.Web.UI.WebControls.WebParts.WebPart)
Public Property ChromeState Gets or sets whether a part control is in a minimized or normal state. (Inherited from System.Web.UI.WebControls.WebParts.WebPart)
Public Property ChromeType Gets or sets the type of border that frames a Web Parts control. (Inherited from System.Web.UI.WebControls.WebParts.WebPart)
Public Property ClientID Gets the server control identifier generated by ASP.NET. (Inherited from System.Web.UI.Control)
Public Property ConnectErrorMessage Gets an error message to display to users if errors occur during the connection process. (Inherited from System.Web.UI.WebControls.WebParts.WebPart)
Public Property ConnectionPointEnabled Gets or Sets flag, which enables/disables connection points.  
Public Property Controls Gets a ControlCollection object that contains the child controls for a specified server control in the user interface hierarchy. (Inherited from System.Web.UI.WebControls.WebParts.Part)
Public Property ControlStyle Gets the style of the Web server control. This property is used primarily by control developers. (Inherited from System.Web.UI.WebControls.WebControl)
Public Property ControlStyleCreated Gets a value indicating whether a Style object has been created for the ControlStyle property. This property is primarily used by control developers. (Inherited from System.Web.UI.WebControls.WebControl)
Public Property CssClass Gets or sets the Cascading Style Sheet (CSS) class rendered by the Web server control on the client. (Inherited from System.Web.UI.WebControls.WebControl)
Public Property DataBindings Gets or Sets data binding list.  
Public Property DefaultButton Gets or sets the identifier for the default button that is contained in the Panel control. (Inherited from System.Web.UI.WebControls.Panel)
Public Property Description Gets or sets a brief phrase that summarizes what the part control does, for use in ToolTips and catalogs of part controls. (Inherited from System.Web.UI.WebControls.WebParts.WebPart)
Public Property Direction Gets or sets the horizontal direction that content flows within the control. (Inherited from System.Web.UI.WebControls.WebParts.WebPart)
Public Property DisplayTitle Gets a string that contains the full title text actually displayed in the title bar of a WebPart control instance. (Inherited from System.Web.UI.WebControls.WebParts.WebPart)
Public Property Enabled Gets or sets a value indicating whether the Web server control is enabled. (Inherited from System.Web.UI.WebControls.WebControl)
Public Property EnableTheming Gets or sets a value indicating whether themes apply to this control. (Inherited from System.Web.UI.WebControls.WebControl)
Public Property EnableViewState Gets or sets a value indicating whether the server control persists its view state, and the view state of any child controls it contains, to the requesting client. (Inherited from System.Web.UI.Control)
Public Property ErrorSummary Gets error summary.  
Public Property ExportMode Gets or sets whether all, some, or none of a WebPart control's properties can be exported. (Inherited from System.Web.UI.WebControls.WebParts.WebPart)
Public Property Font Gets the font properties associated with the Web server control. (Inherited from System.Web.UI.WebControls.WebControl)
Public Property ForeColor Gets or sets the foreground color (typically the color of the text) of the Web server control. (Inherited from System.Web.UI.WebControls.WebControl)
Public Property GroupingText Gets or sets the caption for the group of controls that is contained in the panel control. (Inherited from System.Web.UI.WebControls.Panel)
Public Property HasAttributes Gets a value indicating whether the control has attributes set. (Inherited from System.Web.UI.WebControls.WebControl)
Public Property HasSharedData Gets a value that indicates whether a WebPart control has any shared personalization data associated with it. (Inherited from System.Web.UI.WebControls.WebParts.WebPart)
Public Property HasUserData Gets a value that indicates whether a WebPart control has any user personalization data associated with it. (Inherited from System.Web.UI.WebControls.WebParts.WebPart)
Public Property Height (Inherited from System.Web.UI.WebControls.WebParts.WebPart)
Public Property HelpMode Gets or sets the type of user interface (UI) used to display Help content for a WebPart control. (Inherited from System.Web.UI.WebControls.WebParts.WebPart)
Public Property HelpUrl Gets or sets the URL to a Help file for a WebPart control. (Inherited from System.Web.UI.WebControls.WebParts.WebPart)
Public Property Hidden Gets or sets a value indicating whether a WebPart control is displayed on a Web page. (Inherited from System.Web.UI.WebControls.WebParts.WebPart)
Public Property HorizontalAlign Gets or sets the horizontal alignment of the contents within the panel. (Inherited from System.Web.UI.WebControls.Panel)
Public Property ID Gets or sets the programmatic identifier assigned to the server control. (Inherited from System.Web.UI.Control)
Public Property ImportErrorMessage Gets or sets an error message that is used if errors occur when a WebPart control is imported. (Inherited from System.Web.UI.WebControls.WebParts.WebPart)
Public Property IsClosed Gets a value that indicates whether a WebPart control is currently closed on a Web Parts page. (Inherited from System.Web.UI.WebControls.WebParts.WebPart)
Public Property IsShared Gets a value that indicates whether a WebPart control is shared, meaning that it is visible to all users of a Web Parts page. (Inherited from System.Web.UI.WebControls.WebParts.WebPart)
Public Property IsStandalone Gets a value that indicates whether a WebPart control is standalone, meaning that it is not contained within a WebPartZoneBase zone. (Inherited from System.Web.UI.WebControls.WebParts.WebPart)
Public Property IsStatic Gets a value that indicates whether a WebPart control is a static control, which means the control is declared in the markup of a Web Parts page and not added to the page programmatically. (Inherited from System.Web.UI.WebControls.WebParts.WebPart)
Public Property NamingContainer Gets a reference to the server control's naming container, which creates a unique namespace for differentiating between server controls with the same ID property value. (Inherited from System.Web.UI.Control)
Public Property Page Gets a reference to the Page instance that contains the server control. (Inherited from System.Web.UI.Control)
Public Property Parameters Gets or Sets paramters list.  
Public Property Parent Gets a reference to the server control's parent control in the page control hierarchy. (Inherited from System.Web.UI.Control)
Public Property RealtimeInterval Gets or Sets real time interval.  
Public Property ScrollBars Gets or sets the visibility and position of scroll bars in a Panel control. (Inherited from System.Web.UI.WebControls.Panel)
Public Property ShowDebugInfoRuntime Gets or Sets flag to show debug information.  
Public Property ShowToolbar Gets or Sets flag to show toolbar.  
Public Property Site Gets information about the container that hosts the current control when rendered on a design surface. (Inherited from System.Web.UI.Control)
Public Property SiteUrl Gets the site url.  
Public Property SkinID Gets or sets the skin to apply to the control. (Inherited from System.Web.UI.WebControls.WebControl)
Public Property Style Gets a collection of text attributes that will be rendered as a style attribute on the outer tag of the Web server control. (Inherited from System.Web.UI.WebControls.WebControl)
Public Property Subtitle Gets a string that is concatenated with the Title property value to form a complete title for a WebPart control. (Inherited from System.Web.UI.WebControls.WebParts.WebPart)
Public Property TabIndex Gets or sets the tab index of the Web server control. (Inherited from System.Web.UI.WebControls.WebControl)
Public Property TemplateControl Gets or sets a reference to the template that contains this control. (Inherited from System.Web.UI.Control)
Public Property TemplateSourceDirectory Gets the virtual directory of the Page or UserControl that contains the current server control. (Inherited from System.Web.UI.Control)
Public Property Title Gets or sets the title of a part control. (Inherited from System.Web.UI.WebControls.WebParts.WebPart)
Public Property TitleIconImageUrl Gets or sets the URL to an image used to represent a Web Parts control in the control's title bar. (Inherited from System.Web.UI.WebControls.WebParts.WebPart)
Public Property TitleUrl Gets or sets a URL to supplemental information about a WebPart control. (Inherited from System.Web.UI.WebControls.WebParts.WebPart)
Public Property ToolTip Gets or sets the text displayed when the mouse pointer hovers over the Web server control. (Inherited from System.Web.UI.WebControls.WebControl)
Public Property UniqueID Gets the unique, hierarchically qualified identifier for the server control. (Inherited from System.Web.UI.Control)
Public Property Verbs Gets a collection of custom verbs associated with a WebPart control. (Inherited from System.Web.UI.WebControls.WebParts.WebPart)
Public Property Visible Gets or sets a value that indicates whether a server control is rendered as UI on the page. (Inherited from System.Web.UI.Control)
Public Property WebBrowsableObject Gets a reference to the WebPart control to enable it to be edited by custom EditorPart controls. (Inherited from System.Web.UI.WebControls.WebParts.WebPart)
Public Property Width (Inherited from System.Web.UI.WebControls.WebParts.WebPart)
Public Property Wrap Gets or sets a value indicating whether the content wraps within the panel. (Inherited from System.Web.UI.WebControls.Panel)
Public Property Zone Gets the WebPartZoneBase zone that currently contains a WebPart control. (Inherited from System.Web.UI.WebControls.WebParts.WebPart)
Public Property ZoneIndex Gets the index position of a WebPart control within its zone. (Inherited from System.Web.UI.WebControls.WebParts.WebPart)
Top

Protected Properties

  Name Description
Protected Property Adapter Gets the browser-specific adapter for the control. (Inherited from System.Web.UI.Control)
Protected Property ChildControlsCreated Gets a value that indicates whether the server control's child controls have been created. (Inherited from System.Web.UI.Control)
Protected Property ClientIDSeparator Gets a character value representing the separator character used in the ClientID property. (Inherited from System.Web.UI.Control)
Protected Property Context Gets the HttpContext object associated with the server control for the current Web request. (Inherited from System.Web.UI.Control)
Protected Property DesignMode Gets a value indicating whether a control is being used on a design surface. (Inherited from System.Web.UI.Control)
Protected Property Events Gets a list of event handler delegates for the control. This property is read-only. (Inherited from System.Web.UI.Control)
Protected Property HasChildViewState Gets a value indicating whether the current server control's child controls have any saved view-state settings. (Inherited from System.Web.UI.Control)
Protected Property IdSeparator Gets the character used to separate control identifiers. (Inherited from System.Web.UI.Control)
Protected Property IsChildControlStateCleared Gets a value indicating whether controls contained within this control have control state. (Inherited from System.Web.UI.Control)
Protected Property IsEnabled Gets a value indicating whether the control is enabled. (Inherited from System.Web.UI.WebControls.WebControl)
Protected Property IsTrackingViewState Gets a value that indicates whether the server control is saving changes to its view state. (Inherited from System.Web.UI.Control)
Protected Property IsViewStateEnabled Gets a value indicating whether view state is enabled for this control. (Inherited from System.Web.UI.Control)
Protected Property LoadViewStateByID Gets a value indicating whether the control participates in loading its view state by ID instead of index. (Inherited from System.Web.UI.Control)
Protected Property TagKey Gets the HtmlTextWriterTag value that corresponds to this Web server control. This property is used primarily by control developers. (Inherited from System.Web.UI.WebControls.WebControl)
Protected Property TagName Gets the name of the control tag. This property is used primarily by control developers. (Inherited from System.Web.UI.WebControls.WebControl)
Protected Property ViewState Gets a dictionary of state information that allows you to save and restore the view state of a server control across multiple requests for the same page. (Inherited from System.Web.UI.Control)
Protected Property ViewStateIgnoresCase Gets a value that indicates whether the StateBag object is case-insensitive. (Inherited from System.Web.UI.Control)
Protected Property WebPartManager Gets a reference to the WebPartManager control associated with a WebPart control instance. (Inherited from System.Web.UI.WebControls.WebParts.WebPart)
Top

Public Methods

  Name Description
Public Method ApplyStyle Copies any nonblank elements of the specified style to the Web control, overwriting any existing style elements of the control. This method is primarily used by control developers. (Inherited from System.Web.UI.WebControls.WebControl)
Public Method ApplyStyleSheetSkin Applies the style properties defined in the page style sheet to the control. (Inherited from System.Web.UI.Control)
Public Method CopyBaseAttributes Copies the properties not encapsulated by the Style object from the specified Web server control to the Web server control that this method is called from. This method is used primarily by control developers. (Inherited from System.Web.UI.WebControls.WebControl)
Public Method CreateEditorParts Returns a collection of custom EditorPart controls that can be used to edit a WebPart control when it is in edit mode. (Inherited from System.Web.UI.WebControls.WebParts.WebPart)
Public Method DataBind Overloaded. Binds a data source to the invoked server control and all its child controls with an option to raise the DataBinding event. (Inherited from System.Web.UI.WebControls.WebParts.Part)
Public Method Dispose Enables a server control to perform final clean up before it is released from memory. (Inherited from System.Web.UI.Control)
Public Method FindControl Overloaded. Searches the current naming container for a server control with the specified id parameter. (Inherited from System.Web.UI.Control)
Public Method Focus Sets input focus to a control. (Inherited from System.Web.UI.Control)
Public Method GetObjectData Serializes the collection.  
Public Method GetParametersFromProvider Gets provider's parametrs.  
Public Method HasControls Determines if the server control contains any child controls. (Inherited from System.Web.UI.Control)
Public Method MergeStyle Copies any nonblank elements of the specified style to the Web control, but will not overwrite any existing style elements of the control. This method is used primarily by control developers. (Inherited from System.Web.UI.WebControls.WebControl)
Public Method RenderBeginTag Renders the HTML opening tag of the Panel control to the specified writer. (Inherited from System.Web.UI.WebControls.Panel)
Public Method RenderControl Overloaded. Outputs server control content to a provided HtmlTextWriter object and stores tracing information about the control if tracing is enabled. (Inherited from System.Web.UI.Control)
Public Method RenderEndTag Renders the HTML closing tag of the Panel control into the specified writer. (Inherited from System.Web.UI.WebControls.Panel)
Public Method ResolveClientUrl Gets a URL that can be used by the browser. (Inherited from System.Web.UI.Control)
Public Method ResolveUrl Converts a URL into one that is usable on the requesting client. (Inherited from System.Web.UI.Control)
Public Method SetParametersProvider Sets provider's parametrs.  
Public Method SetRenderMethodDelegate Assigns an event handler delegate to render the server control and its content into its parent control. (Inherited from System.Web.UI.Control)
Public Method SetTableProvider Sets table provider.  
Top

Protected Methods

  Name Description
Protected Method AddAttributesToRender Adds information about the background image, alignment, wrap, and direction to the list of attributes to render. (Inherited from System.Web.UI.WebControls.Panel)
Protected Method AddedControl Called after a child control is added to the Controls collection of the Control object. (Inherited from System.Web.UI.Control)
Protected Method AddParsedSubObject Notifies the server control that an element, either XML or HTML, was parsed, and adds the element to the server control's ControlCollection object. (Inherited from System.Web.UI.Control)
Protected Method AreProvidersReady Overrides this method in case you have providers other than parameter providers and table provider  
Protected Method BuildProfileTree Gathers information about the server control and delivers it to the Trace property to be displayed when tracing is enabled for the page. (Inherited from System.Web.UI.Control)
Protected Method ClearChildControlState Deletes the control-state information for the server control's child controls. (Inherited from System.Web.UI.Control)
Protected Method ClearChildState Deletes the view-state and control-state information for all the server control's child controls. (Inherited from System.Web.UI.Control)
Protected Method ClearChildViewState Deletes the view-state information for all the server control's child controls. (Inherited from System.Web.UI.Control)
Protected Method CreateChildControls Called by the ASP.NET page framework to notify server controls that use composition-based implementation to create any child controls they contain in preparation for posting back or rendering. (Inherited from System.Web.UI.Control)
Protected Method CreateControlCollection Creates a new ControlCollection object to hold the child controls (both literal and server) of the server control. (Inherited from System.Web.UI.Control)
Protected Method CreateControlStyle Creates a style object that is used internally by the Panel control to implement all style related properties. (Inherited from System.Web.UI.WebControls.Panel)
Protected Method CreateDataBinding When a new table provider web part is connected, the new data binding needs to be created. The abstract declaration of the CreateDataBinding method forses all the inherited web parts to implement it.  
Protected Method DataBindChildren Binds a data source to the server control's child controls. (Inherited from System.Web.UI.Control)
Protected Method EnsureChildControls Determines whether the server control contains child controls. If it does not, it creates child controls. (Inherited from System.Web.UI.Control)
Protected Method EnsureID Creates an identifier for controls that do not have an identifier assigned. (Inherited from System.Web.UI.Control)
Protected Method GetDesignModeState Gets design-time data for a control. (Inherited from System.Web.UI.Control)
Protected Method HasEvents Returns a value indicating whether events are registered for the control or any child controls. (Inherited from System.Web.UI.Control)
Protected Method IsDesignMode Determines, whether is design mode.  
Protected Method IsLiteralContent Determines if the server control holds only literal content. (Inherited from System.Web.UI.Control)
Protected Method LoadControlState Restores control-state information from a previous page request that was saved by the SaveControlState method. (Inherited from System.Web.UI.Control)
Protected Method LoadViewState Restores view-state information from a previous request that was saved with the SaveViewState method. (Inherited from System.Web.UI.WebControls.WebControl)
Protected Method MapPathSecure Retrieves the physical path that a virtual path, either absolute or relative, maps to. (Inherited from System.Web.UI.Control)
Protected Method OnBubbleEvent Determines whether the event for the server control is passed up the page's UI server control hierarchy. (Inherited from System.Web.UI.Control)
Protected Method OnClosing Enables derived classes to provide custom handling when a WebPart control is closed on a Web Parts page. (Inherited from System.Web.UI.WebControls.WebParts.WebPart)
Protected Method OnConnectModeChanged Enables derived classes to provide custom handling when a WebPart control is beginning or ending the process of connecting to other controls. (Inherited from System.Web.UI.WebControls.WebParts.WebPart)
Protected Method OnDataBinding Raises the DataBinding event. (Inherited from System.Web.UI.Control)
Protected Method OnDeleting Enables derived classes to provide custom handling when a WebPart control is permanently removed from a Web Parts page. (Inherited from System.Web.UI.WebControls.WebParts.WebPart)
Protected Method OnEditModeChanged Enables derived classes to provide custom handling when a WebPart control is entering or leaving edit mode. (Inherited from System.Web.UI.WebControls.WebParts.WebPart)
Protected Method OnInit Raises the Init event. (Inherited from System.Web.UI.Control)
Protected Method OnLoad Raises the Load event. (Inherited from System.Web.UI.Control)
Protected Method OnPreRender Overridden.  Runs bebore page rendering.  
Protected Method OnProvidersReady Fires then providers is ready.  
Protected Method OnUnload Raises the Unload event. (Inherited from System.Web.UI.Control)
Protected Method OpenFile Gets a Stream used to read a file. (Inherited from System.Web.UI.Control)
Protected Method RaiseBubbleEvent Assigns any sources of the event and its information to the control's parent. (Inherited from System.Web.UI.Control)
Protected Method RemovedControl Called after a control is removed from the Controls collection of another control. (Inherited from System.Web.UI.Control)
Protected Method Render Renders the control to the specified HTML writer. (Inherited from System.Web.UI.WebControls.WebControl)
Protected Method RenderChildren Outputs the content of a server control's children to a provided HtmlTextWriter object, which writes the content to be rendered on the client. (Inherited from System.Web.UI.Control)
Protected Method RenderContents Renders the contents of the control to the specified writer. This method is used primarily by control developers. (Inherited from System.Web.UI.WebControls.WebControl)
Protected Method ResolveAdapter Gets the control adapter responsible for rendering the specified control. (Inherited from System.Web.UI.Control)
Protected Method SaveControlState Saves any server control state changes that have occurred since the time the page was posted back to the server. (Inherited from System.Web.UI.Control)
Protected Method SaveViewState Saves any state that was modified after the TrackViewState method was invoked. (Inherited from System.Web.UI.WebControls.WebControl)
Protected Method SetDesignModeState Sets design-time data for a control. (Inherited from System.Web.UI.Control)
Protected Method SetParameters This method is called everytime a parameter provider sends the value for the parameters Override this method to set the parameters to your webpart  
Protected Method SetPersonalizationDirty Sets a flag indicating that personalization data has changed for the current WebPart control instance. (Inherited from System.Web.UI.WebControls.WebParts.WebPart)
Protected Method ShouldBindData Determines, whether data is bound.  
Protected Method ShouldShowDebugInfo Determines, whether to show debug info..  
Protected Method TrackViewState (Inherited from System.Web.UI.WebControls.WebParts.WebPart)
Top

Public Events

  Name Description
Public Event DataBinding Occurs when the server control binds to a data source. (Inherited from System.Web.UI.Control)
Public Event Disposed Occurs when a server control is released from memory, which is the last stage of the server control lifecycle when an ASP.NET page is requested. (Inherited from System.Web.UI.Control)
Public Event Init Occurs when the server control is initialized, which is the first step in its lifecycle. (Inherited from System.Web.UI.Control)
Public Event Load Occurs when the server control is loaded into the Page object. (Inherited from System.Web.UI.Control)
Public Event PreRender Occurs after the Control object is loaded but prior to rendering. (Inherited from System.Web.UI.Control)
Public Event Unload Occurs when the server control is unloaded from memory. (Inherited from System.Web.UI.Control)
Top

See Also