Web parts are ASP.NET controls that can be added to web part zones. They are generally distributed as WSP files. Pre-2013, they could be developed off the hosting server. With 2013, WebParts for the most part have to be developed the hosting server for proper library inclusion.

learn more… | top users | synonyms (3)

1
vote
1answer
6k views

Disable Horizontal Scroll Bar on Navigation Web Part in SharePoint 2010

How do I disable the horizontal scroll bar on a web part (actually it's in zone 1 on a navigation blog page web part) in SharePoint 2010? I set the the length to 5.5 inches to get a vertical scroll ...
0
votes
2answers
797 views

How can I make a task list show different tasks for different groups?

I've added a Tasks web part to the homepage of a Sharepoint 2010 site and I want it to show "My Tasks" for some groups (e.g. the employees), "All Tasks" for others (e.g. the managers), and would like ...
0
votes
1answer
77 views

Portal page with web part - access issue

We have a page which displays some data based on list items which are stored in another site collection. Many of those items have custom permissions set up. Story goes like this: when user has ...
2
votes
1answer
190 views

file not found when click new in webpart gallery

I am getting an error when i click new webpart in webpart gallery. I want to deploy my custom webpart to sharepoint webpart gallery. I try to look in sharepoint log. Sadly, there is no further info in ...
1
vote
2answers
884 views

Update-SPSolution stops IIS Application Pool from another Web Application

I'm trying to figure out a wierd problem, maybe yous guys can help. I'm deploying a web part using powershell (Update-SPSolution) in a build definition. The deploy works, but every time one ...
0
votes
1answer
1k views

SPContext.Current.Web and security exepction

I write a webpart in C# for sharepoint 2007 .When i try to create instance of SPSite or SPWeb , for example: SPSite sit = new SPSite("http://sharepoint"); or SPSite sit = ...
1
vote
2answers
1k views

Custom EditorPart - Make it look like regular category Appearance, Layout

I am creating a Custom EditorPart in VS 2010 and have it all working as I would like. The only issue I want to fix is that I want the custom parts to look like the Appearance and Layout sections. I ...
1
vote
2answers
562 views

Referencing jQuery from Masterpage and WebPart

I am referencing jQUery from my MasterPage as follows: <SharePointWebControls:ScriptLink runat="server" Name="/_LAYOUTS/myprojIntranet/js/jquery-1.7.1.min.js" Localizable="false"/> And in my ...
1
vote
2answers
320 views

Content Rotator to display latest posts only

I am looking at AnythingSlider and a custom content slider and was wondering if these tools allow me to display most recent content only. For a news rotator I only want to display top five news from a ...
3
votes
3answers
865 views

Profiling tools for Sharepoint 2010 web part .NET code

We are working on a pretty large scale project having large number of custom web parts with substantial amount .NET code working on Sharepoint server object model and the like. The normal profiling ...
1
vote
2answers
653 views

How to get FBA users' profile with ASP.NET

I'm getting Windows users' profiles, in my webpart, doing the following: UserProfileManager pm = new UserProfileManager(SPServiceContext.Current); SPUser spuser = web.AllUsers.GetByID(user.Id); ...
0
votes
1answer
1k views

Set web part custom property when adding to page from code

We have a solution that adds All Assignments Web Part from Sharepoint Learning Kit into a page. Here are code snippets we use to do that: public static string AddWebPartToPage(SPWeb web, string ...
0
votes
2answers
136 views

wss 3.0 Webpart Disappears after couple of days of operation

I have custom wss 3.0 webpart installed in my wss site. This webpart is deployed to many servers. Performance is very positive and stable all across other servers. Recently i have encountered a weird ...
1
vote
1answer
1k views

How to do a (performant) check if postback is caused by my custom webpart?

Here are some background infos for this question: Where to load data in the lifecycle of custom webpart Having a webpart with different controls (buttons, dropdownlist etc.), I want to check, if a ...
1
vote
1answer
338 views

How do grouping data in Chart WebPart?

II have a list with lookup field . I want created a chart with Chart WebPart that grouping data with lookup field and calculate sum a special field . How can I do?
0
votes
1answer
937 views

attachment functionality with the custom webpart in sharepoint 2010

i want to implement a attachment functionality in a custom webpart, which functions that same way as it does in sharepoint OOB,...any suggestions?
7
votes
6answers
6k views

How to programmatically create a chart in SharePoint?

I need to create a chart based on items from a list dynamically in a webpart...
1
vote
1answer
279 views

Item Display Form showing View + Page tab in Ribbon while other pages have only View

I have a list with a display form for which I have specified a different rendering WebPart: DataFormWebPart as opposed to the default ListFormWebPart. This caused some issues with the Ribbon. I ...
1
vote
1answer
359 views

Sharepoint Ribbon for view item form going full option

I have a view item form which contains a custom WebPart for displaying that item. I have no issue with that but the ribbon for the display form looks weird: It contains lots of options that don't ...
0
votes
1answer
1k views

What's in the http://schemas.microsoft.com/WebPart/v2 namespace?

I'm adding some custom forms to a list instance by using the <AllUsersWebPart> element in the list schema. It basically configures a WebPart. My question is, what are all the possible tags I ...
0
votes
2answers
2k views

Handle the event generated by ddwrt:GenFireServerEvent('__name')

I have a custom DataFormWebPart that renders some content based on an XSLT. Inside the XSLT I have a button that does a postback like so: <input type="button" value="..." name="..." ...
1
vote
2answers
742 views

Adding a conditional column broke the entire page

I added a conditional column to a list, it had a complicated algorithm to determine the value. I'm sure I had a syntax error in it, however now I can't even access it. When I try to view the list, I ...
0
votes
1answer
41 views

uploading links to various trade websites using which webpart? What is the easiest way to accomplish this?

My company has a section which wants to upload 'new and relevant' articles to its' SP site. They use 7 very specific sites to gather their information from, which we search with targeted criteria ...
0
votes
1answer
280 views

Sharepoint Toolpart Event Not Firing

I have created a Sharepoint WebPart, and I have given it a custom ToolPart that includes a Grid (a Telerik RadGrid, to be exact, though that is rather irrelevant). I have populated the grid, and ...
3
votes
1answer
1k views

~site / ~siteCollection token replacement with sandboxed solutions

It seems you cannot use the ~site or ~siteCollection tokens in an Element.xml when you deploy as a Sandboxed Solution. Has anyone ever seen this behaviour? Code snippet: ...
1
vote
1answer
423 views

Deploying a DataFormWebPart

I have a page with a DataFormWebPart setup to display some data from a subweb. The page is setup ok, the webpart is working. In my solution, I need to create the subweb (that's already working ok) and ...
0
votes
2answers
335 views

PerformancePoint Services 2010 - Reuse dashboards in external standalone ASP.Net application?

I am a newbie to PerformancePoint Services 2010 & Sharepoint 2010. Assuming we have the necessary licenses, we are wondering what is the best option to include the dashboards developed in PPS/SP ...
0
votes
1answer
3k views

Error occurred in deployment step 'Activate Features': Attempted to perform an unauthorized operation

I Created a web part and add Event Receiver to handle ItemAdded event. When run in visual studio , i get error Error occurred in deployment step 'Activate Features': Attempted to perform an ...
1
vote
1answer
239 views

How to remove System.Web.UI.WebControls.WebParts.Part

I am trying to remove some WebParts from a page in my site collection. Normally I can do this with SPLimitedWebPartManager.DeleteWebPart(webPart) however, that will not delete ...
1
vote
4answers
787 views

How to access a library that is not in same farm. i.e. WebPart is in Farm1 and library is in Farm2

How to access a library that is not in same farm. i.e. WebPart is in Farm1 and library is in Farm2 My company has many farms and now I need to create one WebPart that is going to sit in farm1 but it ...
0
votes
1answer
350 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
1answer
567 views

Querying FAST Search Server for Sharepoint from Search Webparts

I'm new to SharePoint and FAST. In SharePoint 2007 implementation for our projects we used "Esp-Searchapi" for querying the back-end FAST ESP 5.3. As we are now migrating to SharePoint 2010 and FAST ...
2
votes
1answer
149 views

can you recommend a 3rd party Staff Leave/holiday/vaccination management web part or equivalent?

it should allow authenticated users to request time off of work, which when approved by an administrator, shows up in a calendar. Administrators will be able to set vacation allotment for the year, so ...
1
vote
2answers
126 views

Can I develop web part for SP 2007 if on my machine is installed SP 2010?

On my computer, I have installed share point 2010 and visual studio 2010. Is is possible to develop web part for share point 2007 from my machine? I can not create new project in VS for share point ...
1
vote
2answers
291 views

How to add a New User to AD?

I have a list for personel. I want add new user to AD when adding a new item in personel list. I use this code but don't created user private SPUser CreateUser(string strLoginName, string strEMail, ...
1
vote
2answers
482 views

Managing WebParts with dependencies on Web scoped Features

I have a Web scoped Feature which provisions a number of Content Types, List Templates & Instances, Custom Actions etc that enables a discrete set of functionality. I also have a number of ...
17
votes
4answers
35k views

Hide the “Add new Item” option below the sharepoint 2010 list

I have a sharepoint 2010 list, I want to hide the option "add new item" which resides below the list, any suggestions?
1
vote
2answers
3k views

How can I add sections in a Document Library?

I have a Document Library of uploaded documents which are classified in sections and displayed by a WebPart. I wan't to add a new section in this library but I didn't find where I can do that. I must ...
4
votes
3answers
16k views

Show recently modified or uploaded documents

I'd like to display a list of the most recently modified documents across all document libraries in a site in Sharepoint 2010. It seems that the Content Query webpart might do this for me, but the ...
1
vote
1answer
530 views

web.confg httpRuntime changes - wss vs. wse

I'm trying to allow large file uploads from inside a web part, and I'm having some timeout issues. I'm attempting to increase the executionTimeout to deal with this, but I've seen different ...
1
vote
1answer
4k views

“Add Web Part” permissions?

Where/how do I edit/influence the permissions which dictate which Web Parts users see when they choose to add a web part to one of their pages in SharePoint 2010?
4
votes
1answer
691 views

Consumer+provider web part connections: output is asked before input

I created a simple web part that has both a consumer and a provider connection. The provided output depends on the consumed input (so this is a sort of pipeline approach). I managed to implement the ...
3
votes
2answers
2k views

How to refresh the parent page using Server side API when the sharepoint modal dialog close?

I have a Web Part with a grid view and a linkbutton for add item. I use this code for show modal dialog when linkbutton click . ...
1
vote
1answer
3k views

Refresh web part without refreshing page [duplicate]

Possible Duplicate: Refreshing custom developed web part I have a custom web part that displays items from a list. A user can select an item and edit the metadata on it. I want to refresh ...
2
votes
1answer
454 views

Sharepoint Toolpart Values Not Being Retrieved

I am looking to add custom properties to a tool part. I've been able to add the textbox as desired. I've been able to enter values and display it in the webpart. The problem is when I edit the ...
6
votes
5answers
6k views

Refreshing custom developed web part

I've developed a custom web part that pulls data from a list. It will only retrieve items where a field called ShowItem is equal to 'Yes'. Once the data is loaded the end user has the ability to ...
1
vote
1answer
1k views

Workflow column in a webpart on the home page issue

I have build a workflow using SharePoint Designer and attached it to a document library. The workflow itself is working with no problem. In the library, if I add the workflow column to the view, I ...
1
vote
1answer
125 views

Custom web part with deleted list

I have a Web Part which links to a list. I'm not sure if this is the standard, but the developers have hard linked the list to the web part so that this particular list is set as a default of sorts. ...
0
votes
1answer
282 views

Toggling listview web part content source

I'm trying to construct the following user experience. There's a set of links, let's say are in the content editor web part, which control which document library is display below. How would you go ...
6
votes
2answers
16k views

How do I change the background color of a web part?

I've got a document library embedded on the home page of one of my SharePoint sites. Someone changed the background color to grey, overriding the site's theme background color, which is white. I've ...