HtmlHead Members
.NET Framework 2.0
Provides programmatic access to the HTML <head> element on the server.
The following tables list the members exposed by the HtmlHead type.
| Name | Description | |
|---|---|---|
| AppRelativeTemplateSourceDirectory | Gets or sets the application-relative virtual directory of the Page or UserControl object that contains this control.(Inherited from Control.) |
| 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.) |
| BindingContainer | Gets the control that contains this control's data binding.(Inherited from Control.) |
| ClientID | Gets the server control identifier generated by ASP.NET.(Inherited from Control.) |
| Controls | Gets a ControlCollection object that represents the child controls for a specified server control in the UI hierarchy.(Inherited from Control.) |
| Disabled | Gets or sets a value indicating whether the HTML server control is disabled.(Inherited from HtmlControl.) |
| EnableTheming | Gets or sets a value indicating whether themes apply to this control.(Inherited from Control.) |
| 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.) |
| ID | Gets or sets the programmatic identifier assigned to the server control.(Inherited from Control.) |
| InnerHtml | Gets or sets the content found between the opening and closing tags of the specified HTML server control.(Inherited from HtmlContainerControl.) |
| InnerText | Gets or sets the text between the opening and closing tags of the specified HTML server control.(Inherited from HtmlContainerControl.) |
| 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.) |
| Page | Gets a reference to the Page instance that contains the server control.(Inherited from Control.) |
| Parent | Gets a reference to the server control's parent control in the page control hierarchy.(Inherited from Control.) |
| Site | Gets information about the container that hosts the current control when rendered on a design surface.(Inherited from Control.) |
| SkinID | Gets or sets the skin to apply to the control.(Inherited from Control.) |
| 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.) |
| StyleSheet | Gets an IStyleSheet instance that represents the style rules in the HtmlHead control. |
| TagName | Gets or sets the name of the HTML element represented by the HtmlGenericControl control.(Inherited from HtmlGenericControl.) |
| TemplateControl | Gets or sets a reference to the template that contains this control. (Inherited from Control.) |
| TemplateSourceDirectory | Gets the virtual directory of the Page or UserControl that contains the current server control.(Inherited from Control.) |
| Title | Gets the page title. |
| UniqueID | Gets the unique, hierarchically qualified identifier for the server control.(Inherited from Control.) |
| Visible | Gets or sets a value that indicates whether a server control is rendered as UI on the page.(Inherited from Control.) |
(see also
Protected Methods
)
Top
| Name | Description | |
|---|---|---|
| ApplyStyleSheetSkin | Applies the style properties defined in the page style sheet to the control. (Inherited from Control.) |
| DataBind | Binds a data source to the invoked server control and all its child controls. (Inherited from Control.) |
| Dispose | Enables a server control to perform final clean up before it is released from memory. (Inherited from Control.) |
| Equals | Overloaded. Determines whether two Object instances are equal. (Inherited from Object.) |
| FindControl | Searches the current naming container for a server control with the specified id parameter. (Inherited from Control.) |
| Focus | Sets input focus to a control. (Inherited from Control.) |
| 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.) |
| GetType | Gets the Type of the current instance. (Inherited from Object.) |
| HasControls | Determines if the server control contains any child controls. (Inherited from Control.) |
| ReferenceEquals | Determines whether the specified Object instances are the same instance. (Inherited from Object.) |
| RenderControl | Outputs server control content to a provided HtmlTextWriter object and stores tracing information about the control if tracing is enabled. (Inherited from Control.) |
| ResolveClientUrl | Gets a URL that can be used by the browser. (Inherited from Control.) |
| ResolveUrl | Converts a URL into one that is usable on the requesting client. (Inherited from Control.) |
| SetRenderMethodDelegate | Assigns an event handler delegate to render the server control and its content into its parent control. (Inherited from Control.) |
| ToString | Returns a String that represents the current Object. (Inherited from Object.) |
| Name | Description | |
|---|---|---|
| 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.) |
| MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) |
| Name | Description | |
|---|---|---|
| DataBinding | Occurs when the server control binds to a data source.(Inherited from Control.) |
| 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.) |
| Init | Occurs when the server control is initialized, which is the first step in its lifecycle.(Inherited from Control.) |
| Load | Occurs when the server control is loaded into the Page object.(Inherited from Control.) |
| PreRender | Occurs after the Control object is loaded but prior to rendering.(Inherited from Control.) |
| Unload | Occurs when the server control is unloaded from memory.(Inherited from Control.) |
Reference
HtmlHead ClassSystem.Web.UI.HtmlControls Namespace
Header
HtmlLink
HtmlMeta
Other Resources
HTML Server ControlsCommunity Additions
ADD
Show: