I needed to customize the small search input box delegate control in my project.
The steps to do that are quite simple:
- add a new Empty SharePoint Project to your solution.
- add the ControlTemplate SharePoint mapped folder and add a new UserControl
In these files you will write your custom view and logic - modify the file Elements.xml
<Elements xmlns="http://schemas.microsoft.com/sharepoint/"> <Control Id="SmallSearchInputBox" Sequence="25" ControlSrc ="~/_controltemplates/Piaggio.Dealer.Portal/SmallSearchInputBoxDelegateControl.ascx"> </Control> </Elements>
Deploy it and activate the feature. This is my result:
That’s all
No comments:
Post a Comment