Share via


TARGETID Attribute | TargetID Property

Enables you to automatically link tabs to a MULTIPAGE control.

Syntax

ASP <tagPrefix:ELEMENT TARGETID = p ... >
Script [ p = ] object.TargetID

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

If set as an attribute of the TABSTRIP element, the first TAB links to the first PAGEVIEW; the second TAB to the second PAGEVIEW, and so on. If there are more TABs than PAGEVIEWs, the TABs with no corresponding PAGEVIEWs can be activated, but the MULTIPAGE will not change the selected PAGEVIEW.

Applies To

TAB, TABSTRIP

See Also

Internet Explorer WebControls, About the TabStrip WebControl