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 propery library inclusion.

learn more… | top users | synonyms (3)

3
votes
3answers
2k views

Finding the Current User login in a Content Query Web Part?

I have the unique requirement of needing to get the current user's id (domain\logon) for use within a Content Query Web Part. If no documents are retrieved with the CQWP I need to craft a custom url ...
2
votes
2answers
1k views

Web Part to Show Libraries and Contents?

Is it possible from the MOSS 2007 OOTB web parts with no custom code of any sort to create a view of all document libraries on a given site expanded to show all folders and documents within it? ...
2
votes
3answers
2k views

Problem debugging web part on SharePoint 2010 beta and Visual Studio 2010 beta

I have created a "Hello World" web part. When I pressed F5 in Visual Studio 2010, I got the following error. I have already got Microsoft SharePoint Foundation User Code Service started. Can anyone ...
3
votes
2answers
714 views

Can I create a connected web part using Silverlight in SharePoint 2007?

Currently, I have a connected web part that consumes a SharePoint list and uses the data to add locations to a Google Map control. What I'd like to do is use the Bing Maps Silverlight control and use ...
3
votes
4answers
2k views

How to develop “Form Builder” web part?

I want a Form Builder web part. This web part would create basic forms dynamically on the fly by drag-and-drop controls. These forms would send the form values as an email and/or store information in ...
2
votes
2answers
2k views

Not able to move web parts from the edit page view

I just completed work on a Publishing Site collection for MOSS 2007 that is using a custom master page that I developed. The stylesheet that I am using holds all the overrides of the core.css. This ...
2
votes
2answers
1k views

Remove column header on SharePoint 2007 list webpart in Team Site

I have a list on a Team Site-based (customised site definition) site collection. I want display its contents on the front page of the site in a web part with the list title and one field only in the ...
0
votes
1answer
1k views

Hide web part using SPLimitedWebPartManager

I'm trying to make a web part that is managing other web parts in the solution. I need it to be able to hide other web parts based on user input. Since I can't use connections I'm trying to do this ...
3
votes
3answers
4k views

Password management web parts? [closed]

Does anyone of you know some webpart providers. I am desperately looking for a SharePoint webpart which can do following. change password lost password recovery (e-mail) change password reminder ...
2
votes
1answer
2k views

Using the Search Paging Web Part

This is my first time working with the search components of SharePoint in much detail so any advice would be helpful here. I have a custom search results page created to match our corporate intranet ...
4
votes
2answers
740 views

Web Parts for both 2007 & 2010

I'm curious if anyone has seen any guidance/best practices on developing web parts that can work for both SP2007 & SP2010 with minimal conversion? They wouldn't take advantage of any new 2010 ...
3
votes
1answer
719 views

Developing WebParts for SP 2007 and SP 2010

We are currently working on a project where the first release will be in 2007 and the next release will be in 2010. In previous projects we have created webparts using user controls and defining ...
2
votes
1answer
212 views

Is there a comprehensive list of all of the out of the box web parts that are connectable?

There is very little information available on connecting web parts on a web part page. This seems to be too advanced a topic for most of the end user resources. On the other hand, it's not a developer ...
2
votes
1answer
190 views

Remove problem web part from my site page

How can I remove a problematic web part from a customised my site page? The web part is redirecting me to another site before I have chance to remove it
3
votes
2answers
2k views

Web Part error for preloaded web part zone

SharePoint 2007 Enterprise, SP2. I am getting a strange error (found in the ULS logs, Google reports no hits on the message itself) when trying to upload a page with a webpart preloaded in a zone: ...
2
votes
3answers
541 views

Any problems using Smartparts to host ASP.NET user controls directly in Sharepoint?

I am thinking about using SmartParts (http://www.codeplex.com/smartpart) to directly Host ASP.NET user controls in sharepoint. This needs however that I manually copy all user controls to all WFE ...
1
vote
4answers
3k views

Changing WebPartZone properties in code

Here is the problem: using SPD is easy to change properties to not allow users to close / minimize webparts from a wp zone: Now how can we do that in code ? I have more then 30 aspx webpart pages ...
1
vote
4answers
2k views

AJAX ModalPopupExtender in SharePoint 2007 Web Part

I am trying to get an AJAX ModalPopupExtender to work in a SharePoint web part but I'm not having any luck at all. I thought it might be something else in my web part causing it so I've created a ...
-1
votes
3answers
1k views

convert asp.net code to WebPart code issue [duplicate]

Possible Duplicate: How to use JavaScript and CSS in a web part? I am using SharePoint Server 2007 Enterprise with Windows Server 2008 Enterprise. I am developing using VSTS 2008 + C# + .Net ...
2
votes
3answers
2k views

Problem with SPGridView and SPGridViewRow.FindControl

In a SharePoint webpart I am displaying an SPGridView. The SPGridView control is inside an Ajax updatepanel and is bound to a datatable in the code. The columns for the gridview are created mostly as ...
1
vote
2answers
1k views

tab control webpart?

I am using SharePoint Server 2007 Enterprise with Windows Server 2008 Enterprise. I am developing using VSTS 2008 + C# + .Net 3.5 + ASP.Net. I want to develop a WebPart, like a tab based control, ...
2
votes
2answers
1k views

How to make a web part configurable?

I am using SharePoint Server 2007 Enterprise with Windows Server 2008 Enterprise. I am using publishing portal template. I am developing using VSTS 2008 + C# + .Net 3.5. I want to develop a WebPart ...
1
vote
4answers
148 views

Common data between all pages?

We have several sub-sites under the root site. On every page, I'm trying to put my name on a WebPart as the contact information for the website. There should only be one place with my contact ...
1
vote
1answer
1k views

Disabled “Filtered Parameter” drop-down in custom web part with connections

I'm writing a web part that needs to use connections for processing values relating to a business object called a "Program Entity". It is supposed to take in an ID provided by a connected web part, ...
0
votes
2answers
2k views

Using multiple filters in a filter web part

I'm working on a filter web part inherited from another developer and it's the first time I've worked on them. It currently allows for a single filter and another filter needs to be added. Initial ...
1
vote
4answers
6k views

How do you connect a Calendar List to a Project Tasks list using Web Part Connections?

I created a Calendar List and a Project Tasks list. Then I added a lookup from the Tasks list to the Calendar list. However, when I try to connect the two with the related field visible on both list ...
1
vote
3answers
5k views

how to add a WebPart to all pages in a SharePoint site?

I am using SharePiont Server 2007 Enterprise with Windows Server 2008 Enterprise, and I am using publishing portal template. I am developing using VSTS 2008 + C# + .Net 3.5. I want to know how to add ...
1
vote
1answer
183 views

Trouble adding CEWP to a View within a Publishing Library

I have a publishing site, and we have been trying to customize the views a little bit. We have added a CEWP to the page. I keep getting this error though, and I'm not sure where to look. "Unable to ...
0
votes
2answers
362 views

How to create a web part to track page creation time

I am new to SharePoint Server 2007 Web Part, and I am using SharePoint Server 2007 on Windows Server 2008. I program using VSTS 2008 + C# + .Net 3.5. I want to create a simple web part which could ...
9
votes
4answers
7k views

Replace the Default Page in a SharePoint WebSite

I have been asked to programmatically do the following in a SharePoint 2007 team site collection: Create a website using the OOTB blank site template. (Please note, for project specific reasons, we ...
0
votes
1answer
835 views

clscompliance parser error when adding web part in webpartzone zonetemplate

I am adding a web part directly into a zonetemplate in a page layout. When i insert a custom web part that has a web part property of type uint, i get an YSOD server error: Parser Error ...
4
votes
2answers
2k views

Moving a web part to a different zone on a page

How do I programmatically move a web part from one zone to another on a page? I have multiple sites that I want to loop through each site and update the page.
10
votes
9answers
6k views

ASP.Net WebPart or SharePoint WebPart

This is an almost religious question; what are your preferred base classes for building WebParts in SharePoint? Are you using the ASP.NET WebPart (System.Web.dll) or the SharePoint WebPart ...
6
votes
3answers
5k views

Is there a list of Sharepoint 2007 WebParts, Features and ContentTypes that Sharepoint installs with?

Does anyone know where I can find a list of all the WebParts, Features and ContentTypes that are available to a regular Sharepoint installation? What I need to do is identify any of the above in a ...