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)

2
votes
1answer
375 views

Do connectable webparts need to be in the same project?

I've found two tutorials that I'm looking at: http://msdn.microsoft.com/en-us/library/ms469765.aspx http://mstecharchitect.blogspot.com/2010/04/creating-connectable-web-parts-using.html But both ...
1
vote
1answer
628 views

Remove webpart from a personalized page for all users

I have a troublesome webpart which I would like to remove from all the places it is being used. (A large number of personalized site pages). How can I do this in SharePoint 2007?
4
votes
2answers
16k views

List of SharePoint 2010 Out-of-Box Web Parts

Can anyone provide me with a nice URL where it will show all the Out-of-Box web parts in SharePoint 2010 and what each one of them can do?
3
votes
1answer
509 views

Preupgrade check reveals webpart issues which are not installed on farm, how to identify the name, assembly of the referenced webparts

I have run a preupgrade check on a SP2007 database to identify issues prior to upgrading to SP2010. The report shows a lot of messages for missing webparts. The strange thing is that I cannot identify ...
6
votes
2answers
1k views

Webparts on Application Pages (_layouts)

Is it possible to have web parts on application pages. In other words having a web parts page in the _layouts catalog? Have tried inheriting from webpartpage, no errors but nothing happens when ...
1
vote
4answers
2k views

Customizing the DataView Webpart paging style

I have configured a dataview webpart that refers the sharepoint list and would like to have a custom paging instead the OOB paging. The paging style should look like the below: Home 1 2 3 4 5 End ...
1
vote
1answer
372 views

Tree View of Related Items

Scenario We have a document library on our portal which contains word documents. Lets say the word documents can be grouped according to title, for example: Grouping 1 contains the titles: 1-1, ...
2
votes
1answer
2k views

How do I get my query results to display in my web part?

I'm working on my very first web part for SharePoint 2010 in Visual Studio 2010. Please keep that in mind as you continue reading. I'm trying to build a web part that runs a simple query against a ...
0
votes
1answer
216 views

Sharepoint 2010 deployment one way whats the best way to get external data back in

As sharepoint 2010 can not deploy back to the source what could be the best method of getting data back into the source site collection? eg lets say a webpart asks a user some questions, which needs ...
9
votes
6answers
2k views

How do I deploy the new version of a webpart?

As stated here (and as i checked), to upload a new version of an installed webpart, uninstalling the assembly from the GAC and installing the new version would suffice. I've tried it and it worked. ...
3
votes
2answers
122 views

Not able to add a webpart to a wiki page on teamsites

I have deployed a custom webpart to a TeamSite using Visual Studio. I get this error message when i try to insert it to the home page. "A Web Part or Web Form Control on this Page cannot be displayed ...
2
votes
1answer
173 views

Move a hidden web part between zones using the user interface

I have a Publishing page with a number of web parts - upon changing the page layout recently, some of the web parts disappeared (because the web part zones changed). Is it possible to move these web ...
2
votes
3answers
9k views

The “Add new document” link on Forms Library list form is messing up

It links to upload document page insead of pulling the infopath. http://sitecoll/sites/0438A/_Layouts/listform.aspx?PageType=8&ListId={7BA9BF8D-52B5-432D-8068-B5290D2E7602} But if i edit the ...
2
votes
1answer
713 views

How to set height of the webpart?

How to set height of the webpart to 4 inches? I tried following but not working. PageViewerWebPart pvwp = new PageViewerWebPart(); pvwp.Title = strTitle; pvwp.Height= "4 Inch"; // Should be "4in" ...
0
votes
1answer
352 views

Misaligned Web Parts under certain circumstances

I have a web part page that contains two parts in separate zones, one on the left-middle, one on the right-middle (so they appear side by side). The left contains a content editor and the right ...
0
votes
2answers
601 views

<WebPartPages:PictureLibrarySlideshowWebPart adding links

Does anyone know how to change the link on the image to be whatever is in [link] field within the same library? (I added a column/field called link). The link on the image is a link to the image, but ...
1
vote
2answers
808 views

How to order a group of web parts added dynamically?

Preface: I did not come up with this implementation, just dealing with it. I have a web part zone that gets 3 content editor web parts loaded into it dynamically through the feature receiver. The ...
3
votes
2answers
1k views

How to set link on images with SP OOTB picture library slide show web part?

I added a link column in my picture library and populated with links. Then added SP OOTB picture library slide show web part. Both pictures and it's description are showing. I need the link to be on ...
1
vote
2answers
164 views

How to implement SP list with this?

I found a nice article that talks about image rotating. I want to read the pictures from picture library. how would I do that ? http://www.sohtanaka.com/web-design/automatic-image-slider-w-css-jquery/ ...
0
votes
1answer
233 views

How to determine what pages are using a particular web part? [duplicate]

Possible Duplicate: How do I find in which (sub)sites a WebPart/Feature is used? After an upgrade to SharePoint 2010, we've had a few web parts with issues. We're a pretty wide ranging ...
2
votes
2answers
2k views

How to add content to Content Editor Webpart programatically?

So I have the standard Content Editor Webpart (MSContentEditor.dwp). The title i can set via webPart.Title (MSDN). I can't find any property where I would set the content editor's content. I ...
2
votes
3answers
4k views

Get Web Part name from GUID

We're migrating from SP2007 to SP2010 and are seeing some error messages about missing web parts during the upgrade, but the error messages only list the GUID and not the web part name. Is there a way ...
0
votes
2answers
984 views

Site Aggregator web part in SP2010 does not show new tab

I am unable to find "new tab" after adding Site Aggregator web part. Does anyone know how to do it?
4
votes
3answers
3k views

Web Part Tool Part Customization issue

To customize the Web Part Tool Part, im following this tutorial : http://blogs.microsoft.co.il/blogs/dudin/archive/2011/04/17/sharepoint-2010-how-to-customize-the-web-part-tool-part.aspx when i use ...
3
votes
3answers
1k views

Can I use a ListView in a web part?

I went to add a ListView to a visual web part I had created and it didn't show up in Intellisense. I figured it was just a hiccup in the intellisense so I just typed it in manually but when I run the ...
12
votes
3answers
6k views

How do I find in which (sub)sites a WebPart/Feature is used?

I need to find out on which (sub)sites a certain webpart is used. In a data sharing environment with many subsites and pages, I want to check if and where certain (third party) webparts are used. Is ...
3
votes
4answers
3k views

How do I display the results of a CAML query on a data grid in sharepoint 2007?

I want to develop a custom web part for SharePoint 2007. How do I display the results of a CAML query on a data grid? The grid view should be customizable, and should not adversely affect performance. ...
0
votes
1answer
280 views

The Organization Browser comes up empty if added to the mysite homepage

Adding the Organization Browser webpart to the My Profile page works fine, but it comes empty when added to the MySites homepage. Silverlight view shows empty (however the 4 arrows do exist and can be ...
2
votes
1answer
926 views

How to add PageView webpart?

This is not working.... SPLimitedWebPartManager webpartManager = webPartPage.GetLimitedWebPartManager(PersonalizationScope.Shared); PageViewerWebPart pvwp = new PageViewerWebPart(); pvwp.Title = "My ...
12
votes
6answers
1k views

Performance problem with custom web part

We've implemented a custom web part which we use to render content of an external website into a SharePoint page. During our test we encountered some strange performance issues. When we open a ...
5
votes
2answers
254 views

How do I handle custom webpart property type update during re-deployment

I have a custom webpart that was defined with a property like [Personalizable(PersonalizationScope.Shared), WebBrowsable(true), WebDisplayName("Chart Type"), Category("Chart - Required")] ...
4
votes
3answers
6k views

Side-by-side web parts on a wiki page: possible?

I want to have two small web parts (weather and traffic reports) arranged side-by-side, rather than one on top of the other, on a wiki page (Home.aspx). It appears that I'll need a web part zone to do ...
6
votes
1answer
2k views

Problem installing web part using Powershell

We've developed a custom Visual Web Part using Visual Studio 2010 for Sharepoint 2010 Server. The webpart gets deployed when executed from VS (F5), so we can add it wherever we want using Sharepoint ...
0
votes
1answer
855 views

How to add web part (lvwp) programatically in SP2010?

How do I add web part on publishing pages. The publishing pages are in Pages list. I like to add the built in contact web part. Also like to add few web part and backend of these web part are list ...
1
vote
3answers
3k views

How to have settings per web part instance

We have developed a Sharepoint 2010 Visual Web Part. This web part adds some extra functionality to Sharepoint but depends on a custom database we've created to index some stuff in a scheduled job. ...
3
votes
3answers
948 views

Possible to programmatically display a list of all web parts and dynamically render on a page?

Is there anyway to use the object model to display a list of all web parts installed (say in a list box)? If so would it then be possible to render that web part on a page if it were selected?
3
votes
1answer
940 views

Webpart Custom Properties

With this attributes decorating the Properties of a Web Part... [WebBrowsable(true)] [Category("Common Settings")] [WebDisplayName("Show tab header")] [WebDescription("Show tab header for the News ...
2
votes
2answers
752 views

Limit Content Editor Webpart

Is it possible to limit the content editor webpart, like you can with pagelayout rich text fields. For example I want to limit the use of inline styles, fonts, colors etc. Are there any alternatives ...
2
votes
1answer
212 views

Possible to create a document library for my web part on installation?

I have a web part that need to have its own document library. Is there any way for me to check to see if that document library exists and if not create it, when the WSP is installed?
5
votes
4answers
7k views

Is there a web part to display all subsites with description?

I am looking for a way (via web part?) to display all sub-sites of a site collection with output similar to output you see under "Sites & Workspaces" (under All Site Content)... I know there is a ...
4
votes
1answer
6k views

Custom webpart properties not holding their values!

I am dynamically adding items to a CheckBoxList that configures some settings in my web part. When I set the properties and click "OK" everything on my page works as expected and displays that data ...
2
votes
3answers
2k views

Hiding WebParts programatically does not work

I am using the following code to hide all WebParts in a page. string siteUrl = "http://site"; SPSite site = new SPSite(siteUrl); SPWeb web; web = site.RootWeb; web.AllowUnsafeUpdates = true; ...
2
votes
3answers
2k views

web parts vs user controls

I need to develop a SharePoint solution that has many layout pages, ten sub sites to be exact. Each department wants to have its own slight variation on the three layout pages proposed at the ...
1
vote
2answers
1k views

Can't get jQuery UI to work in my web part!

I have the following markup: <SharePoint:CssRegistration ID="cr_jqui" Name="/Layouts/MultiPart/css/smoothness/jquery-ui-1.8.12.custom.css" runat="server" After="corev4.css" /> ...
2
votes
1answer
786 views

Create Web part programatically VS 2010

we are to create several web parts after a site is provisioned with WSP. I can either create wp from scratch on feature action. Or save a set of WP in gallery and create an instance out of that when ...
3
votes
3answers
203 views

Developing a custom webpart to improve the page performance

I need a suggestion for a specific development requirement; it is just for a sub-site. The sub-site has a single list with 20 columns and 850+ items. Now, in the home page, I have to have there ...
2
votes
1answer
948 views

sharepoint webpart javascript - 'null' is null or not an object

I have an issue on one of my sharepoint enviriontments regarding some kind of javascript problem with the Content Editor Web Part which keeps returning me these errors when I try to user the RTF-text ...
3
votes
2answers
5k views

Changing colors on calendar view

I have a calendar list setup. My customer could like to give the appointments in the calendar view (by default green) a different color based on the category; much like the way Outlook does it. I ...
7
votes
1answer
1k views

Why is my CAML query working in CAML Builder but not in the application?

I have a CAML query that queries a calendar list and I want it to return all the items in the list with an EventDate of today or later, ordered in ascending order. The CAML query I'm using is this: ...
1
vote
1answer
228 views

Chart Web Part Average Data of a coumn

Let say I have a list with Title | Result A | Result B bob 1 1 bill 1 3 ben 1 5 I wish to graph the average for Result A and Result B only. Using the ...