Export (0) Print
Expand All

HtmlHead Members

Provides programmatic access to the HTML <head> element on the server.

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

  Name Description
Public method HtmlHead Overloaded. Initializes a new instance of the HtmlHead class.
Top

  Name Description
Public property AppRelativeTemplateSourceDirectory  Gets or sets the application-relative virtual directory of the Page or UserControl object that contains this control.(Inherited from Control.)
Public property Attributes  Gets a collection of all attribute name and value pairs expressed on a server control tag within the ASP.NET page.(Inherited from HtmlControl.)
Public property BindingContainer  Gets the control that contains this control's data binding.(Inherited from Control.)
Public property ClientID  Gets the server control identifier generated by ASP.NET.(Inherited from Control.)
Public property Controls  Gets a ControlCollection object that represents the child controls for a specified server control in the UI hierarchy.(Inherited from Control.)
Public property Disabled  Gets or sets a value indicating whether the HTML server control is disabled.(Inherited from HtmlControl.)
Public property EnableTheming  Gets or sets a value indicating whether themes apply to this control.(Inherited from Control.)
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 Control.)
Public property ID  Gets or sets the programmatic identifier assigned to the server control.(Inherited from Control.)
Public property InnerHtml  Gets or sets the content found between the opening and closing tags of the specified HTML server control.(Inherited from HtmlContainerControl.)
Public property InnerText  Gets or sets the text between the opening and closing tags of the specified HTML server control.(Inherited from HtmlContainerControl.)
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 Control.ID property value.(Inherited from Control.)
Public property Page  Gets a reference to the Page instance that contains the server control.(Inherited from Control.)
Public property Parent  Gets a reference to the server control's parent control in the page control hierarchy.(Inherited from Control.)
Public property Site  Gets information about the container that hosts the current control when rendered on a design surface.(Inherited from Control.)
Public property SkinID  Gets or sets the skin to apply to the control.(Inherited from Control.)
Public property Style  Gets a collection of all cascading style sheet (CSS) properties applied to a specified HTML server control in the ASP.NET file.(Inherited from HtmlControl.)
Public property StyleSheet Gets an IStyleSheet instance that represents the style rules in the HtmlHead control.
Public property TagName  Gets or sets the name of the HTML element represented by the HtmlGenericControl control.(Inherited from HtmlGenericControl.)
Public property TemplateControl  Gets or sets a reference to the template that contains this control. (Inherited from Control.)
Public property TemplateSourceDirectory  Gets the virtual directory of the Page or UserControl that contains the current server control.(Inherited from Control.)
Public property Title Gets the page title.
Public property UniqueID  Gets the unique, hierarchically qualified identifier for the server control.(Inherited from Control.)
Public property Visible  Gets or sets a value that indicates whether a server control is rendered as UI on the page.(Inherited from Control.)
Top

(see also Protected Methods )
  Name Description
Public method ApplyStyleSheetSkin  Applies the style properties defined in the page style sheet to the control. (Inherited from Control.)
Public method DataBind  Binds a data source to the invoked server control and all its child controls. (Inherited from Control.)
Public method Dispose  Enables a server control to perform final clean up before it is released from memory. (Inherited from Control.)
Public method Equals  Overloaded. Determines whether two Object instances are equal. (Inherited from Object.)
Public method FindControl  Searches the current naming container for a server control with the specified id parameter. (Inherited from Control.)
Public method Focus  Sets input focus to a control. (Inherited from Control.)
Public method GetHashCode  Serves as a hash function for a particular type. GetHashCode is suitable for use in hashing algorithms and data structures like a hash table. (Inherited from Object.)
Public method GetType  Gets the Type of the current instance. (Inherited from Object.)
Public method HasControls  Determines if the server control contains any child controls. (Inherited from Control.)
Public method Static ReferenceEquals  Determines whether the specified Object instances are the same instance. (Inherited from Object.)
Public method RenderControl  Outputs server control content to a provided HtmlTextWriter object and stores tracing information about the control if tracing is enabled. (Inherited from Control.)
Public method ResolveClientUrl  Gets a URL that can be used by the browser. (Inherited from Control.)
Public method ResolveUrl  Converts a URL into one that is usable on the requesting client. (Inherited from Control.)
Public method SetRenderMethodDelegate  Assigns an event handler delegate to render the server control and its content into its parent control. (Inherited from Control.)
Public method ToString  Returns a String that represents the current Object. (Inherited from Object.)
Top

  Name Description
Protected method Finalize  Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. (Inherited from Object.)
Protected method MemberwiseClone  Creates a shallow copy of the current Object. (Inherited from Object.)
Top

  Name Description
Public event DataBinding  Occurs when the server control binds to a data source.(Inherited from 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 Control.)
Public event Init  Occurs when the server control is initialized, which is the first step in its lifecycle.(Inherited from Control.)
Public event Load  Occurs when the server control is loaded into the Page object.(Inherited from Control.)
Public event PreRender  Occurs after the Control object is loaded but prior to rendering.(Inherited from Control.)
Public event Unload  Occurs when the server control is unloaded from memory.(Inherited from Control.)
Top

Community Additions

ADD
Show:
© 2014 Microsoft