The delegate tag has no wiki summary.
6
votes
2answers
4k views
Programmatically add JS/CSS to pages
I've created a Visual Studio SharePoint 2010 solution with an ASCX that adds some JavaScript files and CSS to the head of each page; this is based on this article. When I deploy the solution, it adds ...
6
votes
3answers
2k views
How do you “stop” activating a feature within the feature receiver?
I have a feature receiver with some long running code, hence I use SPLongOperation and delegate for better visual appearance. Basically my feature receiver looks like so:
public override void ...
5
votes
1answer
1k views
Delegate Control Tutorial/Walk-through
Where is a good overview or walk-through of creating delegate controls in SharePoint?
5
votes
5answers
684 views
Customize a Delegate Control in SharePoint 2010
I created a simple project to Customize a Delegate Control in SharePoint 2010 such as in msdn article (http://msdn.microsoft.com/en-us/library/ms470880.aspx).
Source code:
Class:
using System;
using ...
3
votes
3answers
880 views
Trouble enabling custom ribbon with delegate control
I have a project with a number of custom ribbons: a couple are bound to contenttypes, some are activated through webparts and some are (sub)site-wide and are supposed to be activated by a delegate ...
2
votes
1answer
541 views
Overriding GlobalNavigation Delegate control
I have overridden the GlobalNavigation delegate control and have been very pleased with the results. Now I would like to remove my global navigation from application pages that display in iframes ...
2
votes
3answers
296 views
SharePoint 2007 Delegate Control and WSDL
Is there a way to create custom delegate control in sub-sites without having to restart the IIS server?
I have full admin/SharePoint designer access to the sub-site, just not the IIS installation.
...
2
votes
3answers
467 views
Programmatically adding SharePoint Lists to external SQL database
I need to export a SharePoint list to an external SQL database. My initial idea is to open the list as a datatable and bulk update. I created a console app I can run anytime I need to sync the data. ...
1
vote
1answer
517 views
User control in delegate control
My question is regarding a delegate control called TopNavigationDataSource, normally when you create a delegate control you just define there some new properties etc.
But what if I want to deploy ...
1
vote
3answers
2k views
SPSecurity.RunWithElevatedPrivileges working on Windows Server 2003/SP2007 and not on 2008/SP2010
I have this simple code in C# using sharepoint:
SPSecurity.RunWithElevatedPrivileges(delegate()
{
SPSite site = new SPSite("http://localhost:333");
});
When i execute it on a Windows Server ...
1
vote
1answer
217 views
Delegate control appending to page while feature is deactivated
I have a delegate control that is appending to the AdditionalPageHead. This delegate control is appending a custom class of mine that inherits from Control. It runs some logic, and when appropriate, ...
1
vote
1answer
267 views
first visit to site loads page twice
I create a new Site Collection within an existing SP Web Application. The new Site Collection is created as a child of an existing Site Collection (the Root Site Collection in the Web Application) ...
1
vote
0answers
86 views
How to delegate task to someone else when task assigned to person is out?
I have a situation where a task is assigned to a person thru workflow. That person is now gone. I know site admin can delegate the task to someone else.
But I would like manager (say from a group ...
1
vote
1answer
894 views
MSOLAPSvc.3 service missing from kerberos delegation
I'm trying to configure PerformancePoint using this article and Analysis Services is running and configured on that box, but the constrained delegation won't let me choose the MSOLAPSvc.3 service ...
0
votes
1answer
87 views
How do I set a property of the feature control loaded within a delegate control?
I'm currently have a delegate control as such;
<SharePoint:DelegateControl runat="server" ControlId="MainNavigation" AllowMultipleControls="true">
I also have a feature which has a element ...