HtmlGenericControl

HtmlGenericControldisposable

System.Web.UI.HtmlControls (system.web.dll)class

This class is used for HTML elements that are not directly represented by other controls in this namespace (including <span>, <div>, and <body>). The primary use of the HtmlGenericControl is usually to set or modify attributes and styles, using the Attributes and Style properties inherited from HtmlControl. Note that the TagName property can be modified, allowing you to change the tag programmatically before the page is rendered as HTML and sent to the client browser.

public class HtmlGenericControl : HtmlContainerControl { // Public Constructors    public HtmlGenericControl( );    public HtmlGenericControl(string tag); // Public Instance Properties    public string TagName{set; get; }                // overrides HtmlControl }

Hierarchy

System.Object System.Web.UI.Control(System.ComponentModel.IComponent, System.IDisposable, System.Web.UI.IParserAccessor, System.Web.UI.IDataBindingsAccessor) HtmlControl(System.Web.UI.IAttributeAccessor) HtmlContainerControl HtmlGenericControl



ASP. NET in a Nutshell
ASP.NET in a Nutshell, Second Edition
ISBN: 0596005202
EAN: 2147483647
Year: 2003
Pages: 873

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net