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)

16
votes
0answers
709 views

Client Web Part - XsltListViewWebPart

I'm trying to display a list view inside a client web part (for SharePoint hosted App). The below code will work inside an app page but does not render in a client web part. There are no errors ...
3
votes
0answers
236 views

Page Layout html page field filter outside of web part zone

I have a page layout with some web parts outside of a webpart zone so that they are added to already created pages which use the page layout. I want to add a page field filter to the page as well and ...
3
votes
0answers
173 views

Advanced Search web part giving error

I am trying to add an "Advanced Search" web-part to my web-part page. Currently the web part is raising an error object reference is not set to instance of object. Full stack trace recovered from ...
3
votes
0answers
255 views

How do I localize web part title?

I'm adding a bunch of web parts to a page using a module like this: <AllUsersWebPart WebPartZoneID="TopLeftRow" WebPartOrder="1"> <![CDATA[ <webParts> ...
3
votes
0answers
269 views

Default Webparts not rendering in a RichHtmlField on a custom page layout built in Visual Studio

I have a bit of a conundrum.I've built a Visual Studio solution for SharePoint 2010. It comprises of a custom master page and a bunch of page layout templates. I'veAssembled a master pageAssembled a ...
2
votes
0answers
33 views

Set view fields in content query web part programmatically

I am using the code below to update a web part on a home page, it sets the correct settings but when I go to the page with the web part it doesn't pick up the links from the Navigation list. What I ...
2
votes
0answers
41 views

How can I speed up web part loading times?

I have a SharePoint site with a performance point dashboard which contains a number of webparts.The initial page load time is around 1s according to F12 Dev tools. After this I see spinning green ...
2
votes
0answers
47 views

allow contributor users to add web parts to a page without granting them “Add and Customize Pages” permission

I am working on an enterprise wiki site collection, and when contributor users try to add web parts they will get the following error:- A Web Part or Web Form Control on this Page cannot be ...
2
votes
0answers
230 views

List does not exist Error when adding web part Sharepoint 2013

I want to add a web part in my site collection home page containing a list that is created in on of the subsites... i looked in Google for that and it looked like a simple task to do. Almost all ...
2
votes
0answers
25 views

Filter and sort related data from multiple lists

I've been working on ways to collect data from a few lists, do some calculations on it and set up user controls to filter/sort that data. Ultimately I want a web part (or similar) that a user can use ...
2
votes
0answers
65 views

how to validate fields with html5 & sharepoint 2010 webpart?

Recently, I tried to get validated fields with RegularExpressionValidator. When I deployed the webpart, the click event is not working as expected. I hear that RegularExpressionValidator is not ...
2
votes
0answers
152 views

SharePoint Edit Mode Javascript error in edit mode

I am not able to edit the page from the browser. I used to change and edit webparts when suddenly in the edit mode everything looks like it is locked/stalled. When I open the debugger tool, I saw a ...
2
votes
0answers
33 views

convert to sandbox

how i can deploy a custom webpart solution inheret Microsoft.SharePoint.WebPartPages.DataFormWebPart as sandbox solution ? as microsoft documentation ...
2
votes
0answers
61 views

Bug in BLOG Post.aspx?

I think this is a bug and it appears to only be in the Post.aspx view. To summarize, when the exact same web part is added to the POST.aspx page as well as the /Forms/AllItems.aspx page, it crashes on ...
2
votes
0answers
156 views

What is the ConsumerConnectionPointID to use when adding an SSRS Report Viewer Web part declaratively?

I'm having trouble connecting my custom web part to my report viewer web part when using XML markup. My custom web part implements ITransformableFilterValues, so in order to pass values to the SSRS ...
2
votes
0answers
228 views

XsltListViewWebPart provisioning discrepancy SPLimitedWebPartManager AddWebPart versus manually adding

I've exported a XsltListViewWebPart with all of my settings to a .webpart file. I have added this to the webpart gallery in several site collections, I can edit a page add the webpart and it somehow ...
2
votes
0answers
70 views

Accessing custom property value of webpart in application page

We have a custom property in a webpart. and we are opening an application page as a popup dialog. In that page we want to access the webpart property. The custom property is as follows: ...
2
votes
0answers
90 views

Making Table of Contents Webpart Relative to Site

I'm creating a sidebar navigation in a Page Layout and one of the items I'd like is a Table of Contents. I got it to work and it's showing the navigation links, however I have to set it up for each ...
2
votes
0answers
115 views

Can I access excel file from a remote sharepoint server in my Excel Web Access web part?

We are developing an organization level dashboard in which we are using Excel Web Access web part to display part of or entire excel workbooks containing charts. Problem is, the corresponding actual ...
2
votes
0answers
588 views

Excel Web Access web part real time update

I have the following scenario and would very much appreciate any advice: I exported a list /System/Examples to Excel and then saved it as Testing.xlsx to a different document library: ...
2
votes
0answers
411 views

How do I combine rows from different sharepoint lists onto 1 overall list?

I'm using Sharepoint 2007 and sharepoint designer, and I am using multiple sharepoint lists that have the same column types (# required, # complete, % complete) that shows the training status for ...
2
votes
0answers
508 views

Custom aspx page with web part

What would be the best way to have a custom asp.net page which runs on sharepoint and displays a web part? TIA
2
votes
0answers
405 views

Custom filter provider web part and multiple values

I'm trying to build a custom filter provider that can detect the user language (the language selected in SharePoint by the user) and provide it as a filter. As a language can be represented in many ...
2
votes
0answers
986 views

How can I specify the ID of a XsltViewWebPart?

In a module, I'm deploying a webpart page where I put a view to a list : <View WebPartZoneID="Body" WebPartOrder="3" List="related" BaseViewID="4" ...
2
votes
0answers
807 views

Setting an audience from declarative WebPart?

I have a module that deploys some page. I'm adding webparts to these page, using a <AllUsersWebPart> node within a <View>: <View WebPartZoneID="Body" WebPartOrder="5" ...
2
votes
0answers
166 views

Connecting web parts works in Designer, but not by editing on page

I have created some DataFormWebParts that use a web service data source in SharePoint Designer. I then exported each one to the site web part gallery. Each data source is configured with a parameter ...
2
votes
0answers
127 views

OWA webpart view

I added OWA webpart in 2010 but I want the view to look like following like we had in SP 2003. How is it possible as there are no configuration for it in web-part? Please suggest. 2003 look 2010 ...
2
votes
0answers
686 views

Setting calendar control in a web-part as readonly

Is there any way to set calendar control in a web-part as readonly? I have a custom web-part which has a Calender control. In this web-part, I am populating a SPCalendarDataSource object from a view ...
2
votes
0answers
515 views

CustomListView WebPart

I tried create and render CustomListViewWebPart . I tried with the following code. public class CustomListViewWebPart : System.Web.UI.WebControls.WebParts.WebPart { #region Variable Declaration ...
2
votes
0answers
127 views

Application Pool stops-Deploying a Webpart-SP2007

I am using sharepoint 2007 and VS 2008. Sometimes after deploying the webpart, the application pool stops and need to start it manually. I do not know why this is happening?
2
votes
0answers
726 views

Extending the ConsolidatedNewsFeedWebPart Newsfeed Web Part in order to render custom Activity Events in SharePoint 2010 MySites

The title says it all and I imagine this question will evolve as more people provide input. I will try to update with the current answer and/or working code for all to use. The question is about ...
2
votes
0answers
706 views

How to edit web part properties in the UI that was added in SharePoint Designer?

Let's say I create a custom page layout in SPD. Instead of adding a web part zone I add a web part (let's say content query web part) in the layout. When I go to a page using that layout I can see the ...
1
vote
0answers
13 views

Error While Adding Visual Web part To Master page in 2013

I am Trying to add a Visual Web part with Custom css and Java script in it. When i try to add in a layout page It works fine. But when I used the below steps ...
1
vote
0answers
12 views

Issue populating edit forms in Sharepoint 2013

So I have a SharePoint list where on the edit page I have created multiple infopath form webparts, each audiences to a different group with a different view. The problem is that only the first form is ...
1
vote
0answers
18 views

Web Part maintenance page: An unexpected error has occurred

In SharePoint 2013 page, under Page edit mode, when I try to add my custom Web Part, I got following error as shown in picture: Then I append ?contents=1 at the end of Page URL: ...
1
vote
0answers
18 views

Error while creating and Saving Page under TeamSite

Under SP 2010 TeamSite, When i create Page by going Site Settings -> Create Page, the page created but after writing something on the page when i click on save button, I get following as shown in ...
1
vote
0answers
11 views

How to Edit InfoPath Form Web Part embedded into a page when there is no list associated with the Form?

I'm having difficulty editing a SharePoint 2010 page. Someone else created it. The set up is a bit different than normal. The page has an InfoPath form embedded in to it. I have full admin rights to ...
1
vote
0answers
14 views

Linked webparts filter

I have a page with 2 linked webparts, actually 2 list views. (One view is simply sending a parameter to the other view). My problem is that when I use the list filter (by clicking on the view column) ...
1
vote
0answers
25 views

SharePoint Online, Add a webpart to wiki page

I need to add a web part to an existing wiki page [Type="GhostableInLibrary"], when a feature is activated. I have tried a combination of both IgnoreIfAlreadyExists and ReplaceContent properties in ...
1
vote
0answers
18 views

Linking Calendars&Tasks in SharePoint 2010

I'm in the process of a build out a project management site for my company. The site (and subsites) all have task lists and calendars to track initiaves. Each calendar is already linked to a shared ...
1
vote
0answers
38 views

Need Help Change Background Color on One Webpart

I have been struggling on changing the background color for one webpart. With the CSS below it does change the background color, blinks with the change for a quick sec, and then goes right back to the ...
1
vote
0answers
33 views

How to execute a SQL Agent Job on a button click in a Web Part page of a SharePoint 2013 site?

I have a SharePoint 2013 on-premises site. The requirement is to add a button to one of the Webpart pages and on click of that button, a sequence of 3 consecutive SQL Server Agent jobs will be ...
1
vote
0answers
97 views

Lync 2013 Presence Indicators - Sharepoint 2010

I'm currently trying to code web parts to display a button to open a Lync chat window and also show the person's Lync presence. I have had some success using this code: <div style="text-align: ...
1
vote
0answers
22 views

SharePoint webpart layout problem

I'm trying to create simple visual webpart what should list files multiple locations and allow user add new files. However, I have small layout problem: Visual webpart takes too much space on ...
1
vote
0answers
59 views

in Sharepoint, how do I get around the error “ Sys.WebForms.PageRequestManagerServerErrorException: Invalid postback or callback argument.”

I am working with a sharepoint server 2013 installation, which is comprised of a number of webparts, built with VS 2013. The webpart I am currently working with is meant to manage address changes for ...
1
vote
0answers
31 views

How to add Summary Links WP in page Layout in SP2013 Standard?

I'm coming to an issue : I want to create a page layout whith a Summary Links Webpart. I went to the design Manager I chose my layout I get the Snippet Gallery I get the Summary Links WP code I ...
1
vote
0answers
23 views

How to use XsltListViewWebPart with folders

I have an XsltListViewWebPart on a custom page that works fine for a SharePoint 2010 library. My problem is that I need to tell this web part to list only documents in a subFolder of the library. How ...
1
vote
0answers
34 views

Apply MaintainScrollPositionOnPostBack=“True” for WebPart in SharePoint

I have a question regarding the MaintainScrollPositionOnPostBack Is there any way I can add this feature to a ListViewWebPart, so that after making a selection in a related Lists Page it doesn't ...
1
vote
0answers
17 views

Sharepoint 2013 - webpart SAP, div - not 100% - only IE -

I have problem with sharepoint 2013. We have SAP web part, but its not loading correctly - with 100% height... Any suggestions? The problem is only in IE (10, 11) - in older, hard to say. Chrome, FF ...
1
vote
0answers
23 views

Editting a Search Results Web part changing the result source CSOM

I am doing some CSOM powershell to edit a search results web part and change the result source. Don't really know where to start with this as I am new to the world of CSOM powershell. Any help would ...