다음을 통해 공유


New Delegate Control Additions To SharePoint 2013

Introduction

 
In SharePoint 2013, three new delegate controls have been introduced for the purpose of displaying the new top Suite bar (with links SkyDrive, NewsFeed, Sync, follow, etc). 
Here are the controls:

  • PromotedActions Delegate Control
  • SuiteBarBrandingDelegate delegate Control
  • SuiteLinksDelegate delegate Control

So let’s take a look at where these controls are placed on the Master page and how we can replace them.

PromotedActions

Delegate Control is responsible for displaying Links “Share, Follow, SYNC, EDIT” in the top right below SuiteLinksDelegate Control. These links can be replaced by Overriding PromotedActions Delegate Control using a Custom Control created using Visual Studio to the following area on a SharePoint site in the top-right section of the page.

http://csharpcorner.mindcrackerinc.netdna-cdn.com/UploadFile/sagarp/new-delegate-control-additions-to-the-sharepoint-2013/Images/PromotedActions.jpg

An example of adding an additional link may look like the following:

http://csharpcorner.mindcrackerinc.netdna-cdn.com/UploadFile/sagarp/new-delegate-control-additions-to-the-sharepoint-2013/Images/output.jpg

SuiteBarBrandingDelegate

Delegate Control is responsible for displaying ‘SharePoint’ or ‘Office 365′ text on top left of the new SharePoint 2013 site (in the blue bar). This text can only be replaced by overriding SuiteBarBrandingDelegate Delegate Control with a Custom Control created using Visual Studio. Normally, there’s a text reading "SharePoint" like the following:

Header before

http://csharpcorner.mindcrackerinc.netdna-cdn.com/UploadFile/sagarp/new-delegate-control-additions-to-the-sharepoint-2013/Images/Header.jpg** **

After applying delegate control

http://csharpcorner.mindcrackerinc.netdna-cdn.com/UploadFile/sagarp/new-delegate-control-additions-to-the-sharepoint-2013/Images/delegate%20control.jpg

SuiteLinksDelegate
**
**Delegate Control is responsible for displaying Links “NewsFeed, SkyDrive and Sites” in the top right of the new SharePoint 2013 site (in the blue bar). These links can be replaced by overriding SuiteLinksDelegate delegate control using a Custom Control created using Visual Studio. The SuiteLinksDelegate control will allow us to modify the default links and to add our own links, in the "suit links" section.

Before

http://csharpcorner.mindcrackerinc.netdna-cdn.com/UploadFile/sagarp/new-delegate-control-additions-to-the-sharepoint-2013/Images/SuiteLinksDelegate.jpg

Replaced with

http://csharpcorner.mindcrackerinc.netdna-cdn.com/UploadFile/sagarp/new-delegate-control-additions-to-the-sharepoint-2013/Images/Replace%20with.jpg