SPC046101: Declare attribute 'Sequence' in DelegateControl.

Attribute 'Sequence' should be declared to specify 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.

TypeName: DeclareAttributeSequenceInControl
CheckId: SPC046101
Severity: CriticalWarning
Type: DelegateControlDefinition
Resolution

Add attribute 'Sequence' to DelegateControl. See sample below:

<Elements xmlns="http://schemas.microsoft.com/sharepoint/">
   <Control
      Id="AdditionalPageHead"
      Sequence="1000"
      ControlAssembly="EcmaScriptDelegate, Version=1.0.0.0, Culture=neutral, PublicKeyToken=publickeytoken"  
      ControlClass="EcmaScriptDelegate.EcmaScriptDelegateControl">
</Elements>

comments powered by Disqus