A class of the Microsoft.SharePoint.WebControls namespace, DelegateControl is a generic control that is able to render an ASP.NET control. Delegate controls make their child candidate controls pluggable and replaceable.

learn more… | top users | synonyms

1
vote
1answer
18 views

Using Top Navigation Snippet with Current Navigation Term Sets to Get a Static Current Navigation Menu

I've seen a few posts asking similar things but nothing I can use. I am working with a SharePoint 2013 publishing site with custom master pages and layouts. I have a vertical navigation which shows ...
1
vote
1answer
62 views

Access denied on other users mysite after deploying delegate control

I created a delegate control and deploy it on all existing my sites. When I go to my own mysite the delegate control is working fine. When I go to the mysite of someone else I got an access denied. I ...
2
votes
1answer
43 views

How to create a feature stapler for all webtemplates?

I have created a delegate control and try to provision it to all new site collections. It is working now only for the web template "MySite". How to make it possible to provision this feature for all ...
1
vote
0answers
26 views

How to implement a delegate control for only the mysites?

I created a delegate control and it works fine. I add it to the AdditionalPageHead. Now it is visible on all Master Pages. I would like to make it only visible on the My Sites. How to do this without ...
0
votes
1answer
26 views

How to deactivate the delegate control feature after its first load?

I have created a delegate control and it works fine. Inside this delegate control I add a webpart to the welcome page. Thats it! After this action I would like to deactivate the delegate control ...
0
votes
2answers
61 views

How to create a delegate control for the existing placeholder “AdditionalPageHead”?

I am using sp 2013. I would like to create a delegate control to be visible in the masterpage of the mysites. I do not want to edit the masterpage because it needs to stay OOTB. I would like to use ...
0
votes
2answers
59 views

How to trigger some custom c# code when a new site collection is created? Feature Stapling, delegated control?

I am using sp 2013. I have some custom code which is adding some webpart to the welcome page. I would like to execute this code for each new site collection depending on a template (mysites). Someone ...
1
vote
1answer
49 views

Where does the HTML in SharePoint Online Master Page's DelegateControl come from?

Our SharePoint Online Master Page is using this code: <SharePoint:DelegateControl runat="server" ControlId="PageHeader" AllowMultipleControls="false" /> To display the "PageHeader" with the ...
0
votes
2answers
110 views

Cannot get ribbon button by Id through Javascript

I've got a delegate control which persists a customAction Tab onto every page of my host web. In the same Delegate control file, I reference a javascript file which I want to use to hide specific ...
0
votes
0answers
83 views

Load multiple controls to a AdditionalPageHead

I have 2 script files which I want to add to a site. I might add none, either of two or both. Is there a way to do so by overriding the delegate control AdditionalPageHead? Currently, I have 2 ...
1
vote
0answers
23 views

Multiple AdditionalPageHead overloads

I have a requirement where I have 6 different jQuery snippets which I have included in 6 different user controls. And I have 6 different features which override the delegate control with these 6 ...
0
votes
0answers
19 views

Add links to suitebar(without removing existing links)

As there are a lot of tutorials present online which just replace the links(NewsFeed, OneDrive..) with the custom ones. But I need to keep the original ones and append my custom links at the end. ...
1
vote
1answer
52 views

Add promoted actions at the end

I am overriding PromotedActions and am adding a few custom links to it. The problem is, despite of setting the sequence number to 1000000, the links are still coming at the beginning. How can I ...
1
vote
0answers
35 views

Use a Delegate Control on a content page

I created a delegate control which compares the address a user linked from (HttpContext.Current.Request.Path) and if it is correct, I provide a link to a given url. I would like to use this in a ...
0
votes
1answer
248 views

PublishingWebControls EditModePanel do not work in production environment - can't recieve css file when pagemode edit

<%@ Register TagPrefix="PublishingWebControls" Namespace="Microsoft.SharePoint.Publishing.WebControls" Assembly="Microsoft.SharePoint.Publishing, Version=15.0.0.0, Culture=neutral, ...
0
votes
2answers
161 views

I need help in adding a web control to a page layout

I am trying to follow the steps described inside the following link , which mainly require adding a web control and then reference it from a page layout:- ...
1
vote
0answers
69 views

how to add WebControl to my page layout

I want to add the following code to my page layout to fix a bug in SharePoint 2013:- [ToolboxData("<{0}:CustomValidationRequiredFieldsOnPage ...
1
vote
2answers
128 views

asp button not showing up in delegate control

I hope someone will able to help me on this. I have created a empty element file where I am referring a user control which has a asp button control and I am adding this user control to ...
3
votes
4answers
3k views

Removing top links from Sharepoint online team site

The whole day yesterday I have been trying to follow the instructions from MSDN to hide the top links in a SharePoint team site (SharePoint Online in Office 365). However, I can not get it to work. ...
1
vote
2answers
684 views

SharePoint 2013 - Deploying Custom Delegate Controls

I can't figure out how to active custom delegate controls on my SharePoint 2013 site. I've created two custom delegate controls: SuiteBarBrandingDelegate and SuiteLinksDelegate I then published them ...
1
vote
0answers
203 views

How can I set a WP User control into the nav place holder?

I've created a WebPart with a TreeView control that output every list view of a SpWeb site. So, I'm intending to set it up into the v4.master NAV zone. Replacing default one. I found a nice feature ...
0
votes
1answer
125 views

Additional page head delegates with 2 scripts

I have a question regarding the additional page head delegate control. Basically this delegate controls helps to register some scripts in my case. But i have 2 different additional page head delegate ...
1
vote
2answers
497 views

uncheck the checkbox for overwriting a document by default in sharepoint 2013

We are trying to remove the checkbox which appears when uploading a new document in SharePoint (we are using 2013). By default this is checked. We would like it to be unchecked by default. I have ...
2
votes
1answer
485 views

Delegate Control SiteMapDataSource throws error

We have a solution with WSP package. This contains set on Delegate Controls. I want to use one of the Delegate Control with multiple parameters. Hence, I have copied that code related to that and ...
8
votes
1answer
130 views

Delegate control behind of the scene

We all know about delegate controls and steps that should be done to use it, but what SharePoint exactly do in time when we activate feature? It looks like it creates a copy of control's declaration, ...
1
vote
0answers
63 views

render MyGlobalNavigationFixup conditionally

I have created a single GlobalNavigation delegate control that displays different markup based on a condition (code below shows only the negative condition, an over simplified version). The ...
5
votes
1answer
5k views

adding link to suite bar in sharepoint 2013

I have followed the following liks to add custom links to sharepoint 2013 suite bar. http://blogs.msdn.com/b/findnavish/archive/2013/02/07/sharepoint-2013-customizing-suite-bar.aspx ...
2
votes
0answers
199 views

Create submenu item on Ribbon's Splitbutton

I just want to know if it's possible to add submenu on a custom splitbutton by using a delegate control. I know that the normal way is to use javascript function to create the submenu xml. But I was ...
4
votes
1answer
210 views

Define a new custom DelegateControl tag and ControlId?

I would like to add a new custom-defined DelegateControl to the bottom of my MasterPage so that I can install Google Remarketing markup to the bottom of all my pages with a Feature. I already have the ...
0
votes
3answers
82 views

How to build a complex feature to collect and store user options that drive a delegate control

A long title but hopefully will be enough! Basically, I want to create a feture in Visual Studio that will do the following: When activated, places an option/link in the site collection options in ...
1
vote
1answer
634 views

Overriding Tree View Data Source in v4.master

I am implementing some custom navigation providers for SharePoint 2010, and have successfully overridden the data source for the Top Navigation and Quick Launch providers using the delegate provided ...
0
votes
2answers
4k views

Adding multiple controls to AdditionalPageHead

My question is regarding the delegate control AdditionalPageHead, as we know it allows multple controls to be loaded. My questions are: How to add multiple controls? I want that the different ...
0
votes
0answers
33 views

Custom delegate is applied even if the feature is deactivated

I have a question regarding a feature. Situation: I have a feature that is farm scoped, with this feature I deploy a delegate control (xml file), this file refers to cs code. So I've added that file ...
1
vote
0answers
212 views

Changing / overwriting OOTB javascript

I've came across an issue when I was modifying / customizing the mini social tag buttons (a delegate control - class), everything went good and well untill I encountered an issue "onmouseover" event. ...
2
votes
1answer
1k views

Delegate control with class.cs

I searched on google for some clarifications but I didn't find the answers I've been looking for. I want to deploy a delegate which would perform some custom functionality. That is why with a ...
1
vote
1answer
3k views

Customizing SmallSearchInputBox default text

I am trying to customize the text displayed in the search box of my SharePoint site. The default is "Search this site...". I found a number of articles which explain how to do it (by overriding the ...
3
votes
3answers
2k views

How can I implement SharePoint JSGrid filtering and grouping functionality?

I am working on SharePoint JSGrid. I am able to implement the sort functionality in JSGrid. Now I want to implement the grouping and filtering in my custom JSGrid. For filtering we have to attached ...
1
vote
0answers
259 views

Using a Delegate Control to add content into the body of the page without javascript

Is there a way to use a delegate control targeting "AdditionalPageHead" to add a control into the body of the page without resorting to javascript? The solution can't involve javascript as the control ...
3
votes
3answers
3k views

How can I enable JavaScript on every page at a site level?

I'm using SharePoint 2007 and I would like to add the JS code for Google Analytics into the master page. I think a Delegate Control is the way to go, as we already have a Delegate Control in the Head ...
0
votes
1answer
357 views

I can't find the GlobalNavigation WebPart

I wan't to modify the MySite GlobalNavigation WebPart to customize the title in the top left corner. I can find there is a delegate control in the master page but I can't find this control anywhere... ...
1
vote
4answers
968 views

How to embed a CQWP into a master page or DelegateControl

I'm looking for a way to embed a pre-configured Content Query Web Part into a master page. In short, I have a SharePoint:DelegateControl on the master page and I want to plug the web part into it by ...
0
votes
1answer
65 views

Catch click event in another file

I have this .aspx which has a few checkboxes and textboxes and a submit button. Using a delegatecontrol, I add some external textboxes to that page. Now, what happens when I click the submit button ...
0
votes
2answers
190 views

Add content to a masterpage placeholder in a specific site template

I have a master page which is a customized copy of v4.master. I want to add some content to a the placeholder called PlaceHolderQuickLaunchBottomV4: <SharePoint:UIVersionedContent ...
1
vote
2answers
653 views

User's Recently Visited Sites

Anyone have any advice on the best way of tracking the recent sites a user has visited? As part of my overridden Global Navigation delegate control, I'd like to create something similar to a ...
3
votes
1answer
290 views

Know all Delegate Controls

I am wondering if there is any way to find a list all deletage controls which exist on SharePoint Root group by ControlID and Ordered by Sequence. How does sharepoint locate the control with lowest ...