Export (0) Print
Expand All
0 out of 2 rated this helpful - Rate this topic

Delegate Controls

Delegate controls provide a means to specify candidate controls for a particular functionality and to choose a functionality provider for those controls.

Elements

  Control

    Property

The following example specifies a control and tool tips to implement for the input box of the search area in SharePoint pages.

<?xml version="1.0" encoding="utf-8" ?>
<Elements xmlns="http://schemas.microsoft.com/sharepoint/">
  <Control 
    Id="SmallSearchInputBox" 
    Sequence="100"
    ControlSrc="~/_controltemplates/searcharea.ascx">
    <Property Name="SearchTextToolTip">Search this site</Property>
    <Property Name="SearchImageToolTip">Go</Property>
  </Control>
</Elements>
Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.