Share via


Control Element (Delegate Control)

This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This page may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist.

Identifies the control to implement in a delegate control.

<Control
  ControlAssembly = "Text"
  ControlClass = "Text"
  ControlSrc = "Text"
  Id = "Text"
  Sequence = "Integer">
</Control>

Attributes

Attribute

Description

ControlAssembly

Optional Text. Specifies the strong name of the assembly for the control.

ControlClass

Optional Text. Specifies the fully qualified name of the class for the control.

ControlSrc

Optional Text. Specifies the relative URL of the .ascx file that serves as the source for the control, for example, "~/_controltemplates/mySearch.ascx".

Id

Optional Text. Specifies the ID of the control, for example, "SmallSearchInputBox".

Sequence

Optional Integer. Specifies the sequence number for the control, which determines whether the control is added to the control tree for a page. The control with the lowest sequence number is added to the tree.

Child Elements

Property

Parent Elements

Elements

Example

For an example of how this element is used, see Delegate Controls.

Microsoft.Win32.RegistryKey#4

See Also

Tasks

How to: Customize a Delegate Control