This abstract class provides basic functionality for all controls based on the HTML <input> tag. The Value property represents the information entered in the control, and the Type property is a string that identifies the value of the input element's type attribute (for example, "checkbox" or "text"). By default, the Name property is identical to System.Web.UI.Control.UniqueID, although it can be used to group together related HtmlInputRadioButton controls with different identifiers.
public abstract class HtmlInputControl : HtmlControl { // Public Constructors public HtmlInputControl(string type); // Public Instance Properties public virtual string Name{set; get; } public string Type{get; } public virtual string Value{set; get; } // Protected Instance Methods protected override void RenderAttributes(System.Web.UI.HtmlTextWriter writer); // overrides HtmlControl }