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

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 ...
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
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 ...
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 ...
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
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 ...
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 ...
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 ...
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 ...
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 ...
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
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 ...
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 ...
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. ...
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 ...
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 ...
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. ...
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 ...