ID Attribute | id Property
Sets or retrieves a value that indicates the string that identifies the object.
Syntax
ASP <tagPrefix:ELEMENT ID = p ... > Script [ p = ] object.id
Possible Values
tagPrefix Required. The element prefix associated with the WebControls namespace (Microsoft.Web.UI.WebControls). A TagPrefix is defined using the directive. p System.String that specifies or receives any alphanumeric string that begins with a letter. The underscore (_) can also be used. The property is read/write. The property has no default value.
Remarks
The ID should be unique throughout the scope of the current document. If a document contains more than one object with the same identifier, the objects are exposed as a collection that can be referenced only in ordinal position.
The ID of a PAGEVIEW has a direct correlation with the TARGETID attribute of a TABSTRIP or TAB object. When using the ID attribute for PAGEVIEW, the ID attribute references a particular TAB on the TABSTRIP control.
Applies To
TAB, TABSEPARATOR, TOOLBARTEXTBOX, TOOLBARSEPARATOR, TOOLBARLABEL, TOOLBARBUTTON, TOOLBARCHECKBUTTON, TOOLBARDROPDOWNLIST, TOOLBARCHECKGROUP, TREENODE, TREENODETYPE
See Also
Show: