Control Element (Delegate Control)

Applies to: SharePoint 2016 | SharePoint Foundation 2013 | SharePoint Online | SharePoint Server 2013

Identifies the control to implement in a delegate control.


  ControlAssembly = "Text"
  ControlClass = "Text"
  ControlSrc = "Text"
  Id = "Text"
  Sequence = "Integer">

Elements and attributes

The following sections describe attributes, child elements, and parent elements.





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


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


Optional **Text**. Specifies the relative URL of the .ascx file that serves as the source for the control.


Optional **Text**. Specifies the ID of the control.


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


Parent elements



When implementing a user control, use the ControlSrc attribute. When implementing a server control, use both the ControlAssembly and ControlClass attributes. For an example of how this element is used, see Delegate Controls.

See also