This documentation is archived and is not being maintained.

ID Property (Common)

.NET Framework 1.1

Sets or returns the identifier for the specified object. The default value is . an empty string ("").

public virtual string ID {


The following is a list of the classes that inherit the ID property from the System.Web.UI.Control base class.


This property is required only if you require subsequent programmatic access; otherwise, it is not a required property in a control.

See Also

Applies to: System.Web.UI.Control Base Class