DekGenius.com
[ Team LiB ] Previous Section Next Section

HtmlInputControldisposable

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

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
}

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) HtmlInputControl

Subclasses

HtmlInputButton, HtmlInputCheckBox, HtmlInputFile, HtmlInputHidden, HtmlInputImage, HtmlInputRadioButton, HtmlInputText

    [ Team LiB ] Previous Section Next Section