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)

0
votes
4answers
427 views

Formatting controls in web parts

If you have multiple controls in your webpart how do you format them 'nicely' so they don't all appear in one horizontal line? So you would have something like CompanyName: First Name: Last Name: ...
2
votes
2answers
860 views

Using WebClient Class inside a Visual Web Part

I am trying to use the WebClient Class inside a Visual Web Part (via a User Control code behind class). When I want to run the web part I always get: Asynchronous operations are not allowed in ...
0
votes
1answer
72 views

web part for list

I can go to Edit > Add Web Part > Lists and Libraries > Pick a list "My Customer List" and wala it works. The first column in the "My Customer List" is the Customer ID "Customer_00N" or so forth. ...
0
votes
1answer
732 views

Is SharePoint's ListViewXML syntax based on a standard?

Recently I had to change a ListView webpart and noticed the syntax that renders the HTML is not XSLT. Is this syntax documented somewhere? Example, <IfEqual> <Expr1> ...
0
votes
3answers
586 views

How can I create a reusable web part for many customers?

(Any suggestions or good link related to this would help) I have 120 customers in a list called "CustomerList". Each one of this customer has unique document library that matches their title. Goal ...
0
votes
2answers
322 views

Adding HTML content from a list into a Web Part

I have a page which is created from a Page Layout. On the right side I need to have a Web Part which displays promotions e.g. html content. This html content comes from a list. Whenever I change the ...
1
vote
1answer
337 views

How to deploy to path returned by GetClassResourcePath?

I'm using VS 2010 to create a SP 2010 web part. I want to include my images, css files and js files in the VS project, and have them be deployed to the correct location. My understanding is that I ...
2
votes
2answers
658 views

Best approach to adding a web part to an existing page in multiple environments

If you’ve got an existing page in each environment e.g. default.aspx and want to add a web part and promote to each environment what is the best approach? Create a WSP with a Feature Receiver and ...
1
vote
1answer
460 views

Problem with DataView web part and Server-side script datasource from RSS

I've created a DataView web part and feed it with data from a public RSS feed using server-side script as a data source. Everything works great in Sharepoint Designer but in the browser I get the ...
1
vote
2answers
368 views

Reusing the html trim functionality of the annoucements web part

When you post a long annoucement the webpart trims it to the first two lines but preserves any links in the html. I'm trying to create a custom webpart that trims long text and want to reuse this ...
3
votes
2answers
196 views

How can I create a web part for add update and delete operations?

I'm new to SharePoint and I'm working with web parts. I have learned how to create a basic webpart and how to deploy it...but I don't have any ideas about how to create a web part that adds updates ...
1
vote
1answer
397 views

Fixing several Instances of the Same Web Part to a Web Part Page?

My problem precisely and concisely is that I developed a simple web part to display OOTB Surveys on the page (Which means user can answer and submit the survey through my web part). It works ...
2
votes
4answers
764 views

Web part filtering

For our web site we would like to be able to have a combo box which the end user selects a “Province/State” from the drop down menu. Depending on which “Province/State” he selects, some web parts will ...
1
vote
2answers
341 views

Webpart store information in lists or databse?

I am going to create a web part that are going to replace an application that we currently are using. The application is basically used to query information from a database. The Database consist of ...
4
votes
2answers
931 views

Unable to add selected webpart(s) [closed]

I've created a Custom List ('Tooltips') in SharePoint. After this I used SPSource to reverse engineer the list into a feature. After installing and activating this feature, I want to add this list in ...
1
vote
2answers
142 views

Connecting V2 and V3 web parts results in a null reference at the consumer

I'm trying to interact with a bunch of third-party web parts written using the V2 Connections API. The interface I'm implementing is IWebPartRow (V3), and as I understand it, SharePoint 2007 has ...
5
votes
5answers
3k views

How to validate Web Part property value?

A custom web part has custom web part properties. I would like to validate with custom server side code when user changes property value (or when properties are bing saved). Is that possible? Can I ...
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
713 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 ...
2
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
739 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
718 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
207 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
188 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
540 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
2k 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
146 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
3answers
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
4k 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
182 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
361 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
819 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 ...