Add to My Yahoo! | Google Reader or Homepage | Add to Windows Live | Add to Windows Live Alerts

Wictor Wilén

SharePoint Server MVP / Author / MCT / MCTS / MCP / MSc writing about SharePoint and other interesting Microsoft technologies

Useful Delegate Controls in Windows SharePoint Services 3.0

Posted at 2009-10-07 12:18 by Wictor Wilén in SharePoint with 1 comments.

Delegate Controls in SharePoint is a blessing when you are customizing the features and interface of SharePoint. The Delegate Controls are areas in the out-of-the-box SharePoint pages where you are allowed to inject your own controls. This is heavily used by Microsoft Office SharePoint Server 2007, which essentially is a set of features on top of Windows SharePoint Services. For example the standard WSS user information page redirects to the MOSS My Site, this redirection is done by inserting a delegate control into a specific delegate control on the userdisp.aspx page. This nifty delegate control can be used in a WSS solution when you want to create a custom profile page, without modifying any of the OOB files and easily reverts to it's original state when you deactivate the feature.

Read more about Delegate Controls here.

There are several places where you can inject your own code, and very few of them are documented, hence this blog post, which has lived as a OneNote page for me for some time. This is not a complete reference, but contains the most important (imho) delegate controls.

 

AdditionalPageHead
(allows multiple)
Exists in all the default master pages and allows you to insert controls in the head element of the page.
SmallSearchInputBox The search input box present on all pages. WSS automatically adds the searcharea.ascx control here. MOSS replaces this one with the MOSS Search input box
GlobalSiteLink0 Exists in the default.master. MOSS uses this one to publish the variations menu
GlobalSiteLink1 Exists in the default.master. MOSS uses this one to add the link to My Site
GlobalSiteLink2 Exists in the default.master. MOSS uses this one to publish the My Links feature
CentralAdminLeftNavBarTop Used in Central Admin by MOSS. Located in the top of the Quick Launch
DelctlCreateSiteCollectionPanel Exists on the create site collection page and used by MOSS to insert the categorization of Site Collections.
DelctlCreateSitePanel1 Same as above but when creating Sites
DelctlProfileRedirection Exists on the userdisp.aspx page. MOSS uses this one to redirect user the the MySite.

 

Do you have any favorite Delegate Controls?

Comments and trackbacks

#  Comparing Office Suites in the Cloud; Is Windows 8 128-Bit?; The Future Belongs to Microsoft by Trackback
Screenshot from websnpr Top News Stories Microsoft Tries to Quell European Complaints (The New York Times) European antitrust
Make a comment on this post:
Subject:  

Your name:  
Your Url:  
Note: submissions may have to be approved before being visible, so don't submit your comment multiple times.
Real Time Web Analytics