SPC156101: Reference 15 hive in attribute 'ControlSrc' in DelegateControl

A DelegateControl can reference a control template in attribute 'ControlSrc'. Ensure that the URL points to the 15 hive.

TypeName: Reference15HiveInControlSrcInControl
CheckId: SPC156101
Severity: Warning
Type: DelegateControlDefinition
Resolution

Replace value in attribute 'ControlSrc' in DelegateControl with an URL which points to the 15 hive. See correct sample below:

<Elements xmlns="http://schemas.microsoft.com/sharepoint/">
   <Control
      Id="SmallSearchInputBox"  
      Sequence="100"
      ControlSrc="~/_controltemplates/searcharea.ascx">
   </Control>
</Elements>

comments powered by Disqus