System.Web 1.0.5000.0 2.0.0.0 Gtk# is thread aware, but not thread safe; See the <link location="node:gtk-sharp/programming/threads">Gtk# Thread Programming</link> for details. System.Web.UI.HtmlControls.HtmlControl System.Web.UI.ControlBuilder(typeof(System.Web.UI.HtmlControls.HtmlEmptyTagControlBuilder))

You cannot create an instance of the class directly. Instead, this class is inherited by other classes, such as the , , , , , , and classes, to provide common basic functionality.

For a list of initial property values for an instance of , see the constructor.

Serves as the abstract base class that defines the methods, properties, and events common to all HTML input controls, such as the <input type=text>, <input type=submit>, and <input type= file> elements.

- Constructor

  This constructor is used to create and initialize a new instance of the class using the specified input control.

  A new instance of this class is not created directly. This constructor is called from the constructor of other HTML control classes to initialize properties defined in this class.

  The following table shows the initial property value for an instance of .

  Property

  Initial value

  The value of the parameter.

  The following table shows the different possible values for .

  Value

  Description

  text

  A text box for data entry.

  password

  A text box that masks user input.

  checkbox

  A check box that indicates a true or false condition.

  radio

  A radio button that indicates a selection from a mutually exclusive group of radio buttons.

  button

  A command button.

  submit

  A button that submits the form to the server.

  reset

  A button that clears the form.

  file

  A button that uploads a file.

  hidden

  A non-visible field on a Web page used to persist information between posts to the server.

  image

  An image button.

  Initializes a new instance of the class.

  The type of input control.
  1.0.5000.0
  2.0.0.0
- Property
  System.String To be added: an object of type 'string'

  Use the property to determine the unique identifier name for an . In this implementation, the get accessor returns the value of the property. However, the set accessor does not assign a value to this property.

  The set accessor does not assign a value to this property because the property must have the same value as the property for most controls to work properly.

  Classes that inherit from the class can override this implementation, if necessary.

  Gets or sets the unique identifier name for the control.

  1.0.5000.0
  2.0.0.0
  System.ComponentModel.DesignerSerializationVisibility(System.ComponentModel.DesignerSerializationVisibility.Hidden)
  System.ComponentModel.DefaultValue("")
- Method
  System.Void ``

  The method renders a attribute and attribute before calling the base class's method.

  Renders the attributes of the control to the specified object.

  The that contains the output stream to render to the client. 1.0.5000.0 2.0.0.0
- Property
  System.String To be added: an object of type 'string'

  Use this property get the type of an .

  The following table shows the different possible values for the property.

  Value

  Description

  text

  A text box for data entry.

  password

  A text box that masks user input.

  checkbox

  A check box that indicates a true or false condition.

  radio

  A radio button that indicates a selection from a mutually exclusive group of radio buttons.

  button

  A command button.

  submit

  A button that submits the form to the server.

  reset

  A button that clears the form.

  file

  A button that uploads a file.

  hidden

  A non-visible field on a Web page used to persist information between posts to the server.

  image

  An image button.

  Gets the type of an .

  1.0.5000.0
  2.0.0.0
  System.ComponentModel.DesignerSerializationVisibility(System.ComponentModel.DesignerSerializationVisibility.Hidden)
  System.ComponentModel.DefaultValue("")
- Property
  System.String To be added: an object of type 'string'

  Use this property to specify or determine the value associated with the control. The property is equivalent to the value attribute of HTML elements.

  Gets or sets the value associated with the control.

  1.0.5000.0
  2.0.0.0
  System.ComponentModel.DesignerSerializationVisibility(System.ComponentModel.DesignerSerializationVisibility.Hidden)
  System.ComponentModel.DefaultValue("")