This topic has not yet been rated - Rate this topic

Control Element (Delegate Control)

Identifies the control to implement in a delegate control.


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

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.

Id

Optional Text. Specifies the ID of the control.

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.

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.

Did you find this helpful?
(1500 characters remaining)

Community Additions

ADD
© 2013 Microsoft. All rights reserved.