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)

11
votes
0answers
606 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
224 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
169 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
260 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 ...
3
votes
0answers
247 views

Change month in SharePoint MonthlyCalendarView control

How to change month in SharePoint MonthlyCalendarView Control? It seems, there is no way to change month in calendar or change view of calendar.
2
votes
0answers
27 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
41 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
180 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
23 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
59 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
141 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
57 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
147 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
231 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> ...
2
votes
0answers
223 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
67 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
112 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
558 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
389 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
473 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
393 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
958 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
759 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
665 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
511 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
702 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
668 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
17 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
31 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
16 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
24 views

SharePoint 2013 multilingual text based on regional settings

I have a SharePoint 2013 site with custom newsfeed webpart. The news items are retrieved from a Custom SharePoint list. I want to change the header of the webpart to different language based on the ...
1
vote
0answers
32 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
19 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
21 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
15 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
19 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 ...
1
vote
0answers
83 views

Error when adding web part or app part via CSOM remote provisioning to SharePoint page: Specified argument was out of the range of valid values

Problem Adding a web part (or app part) via CSOM remote provisioning to a on-premise SharePoint web part page results in a Specified argument was out of the range of valid values exception ...
1
vote
0answers
15 views

Sending parameter to excel web access charts

I have some pivot charts displayed using excel web access, all of the charts have some filters, I would like to create a common filters to interact with excel web access charts. Is there a way I can ...
1
vote
0answers
29 views

Unable to add link in the Summary Links web part by power shell script

I want to add links to the summary link web part using the power shell script. I have found a script for it on this link, but is it not working as per the requirement. I have a publishing website and ...
1
vote
0answers
24 views

Calendar under Web Part in Sharepoint

is it possible to show 3-month period of a calendar under a web part in sharepoint? Basically, it only shows per month period (which is the current month). Is there any way to customize it? In this ...
1
vote
0answers
15 views

Custom Upload Status Web Part

Looking to create the following scenario: Weekly a client will access their SharePoint site to upload a specified number of files. (for example 5 files) We are looking for a solution that will prior ...
1
vote
0answers
50 views

Recent Activities Web Part on MySite causes null object error

Whenever a user is on their MySite and goes to their blog and tries adding a Recent Activities web part to the page, the page comes back saying: The "PublishedNewsFeedWebPart" Web Part appears to be ...
1
vote
0answers
18 views

Read all projects within Project Online using web part Sharepoint

Can we get data of all projects from Project Online in SharePoint Site? So far as I understand we can get data of list like this: SPWeb web = SPContext.Current.Web; SPList issueList = ...
1
vote
0answers
25 views

Excel Workbook webpart filtering display issue

Has any one experienced an issue with Excel workbook WepPart not displaying the filtering box and items? What it does look like: What it should look like: This is not displayed until I select ...
1
vote
0answers
56 views

JavaScript for Media Web Part in SharePoint 2013?

I have some custom JavaScript in SharePoint 2010 that works with the native Media Web Part, as described on MSDN. However, when porting this over to SharePoint 2013, the obj[0].Content.MediaPlayer ...