Web parts are ASP.NET controls that can be added to web part zones. They are generally distributed through the deployment of .WSP files. Pre-2013, they could be developed off the hosting server. With 2013, Web Parts for the most part have to be developed on the hosting server for proper library ...

learn more… | top users | synonyms (3)

1
vote
0answers
104 views

SharePoint content-length limit on POST

Is there any limit on Content-Length when POST in SharePoint (Online version). I'm using web part form, and when the data is too many, any submission on form will result in web part error. When ...
3
votes
1answer
88 views

Migrate Web Part from one environment to another?

SharePoint Foundation 2010. I have added a very basic web part to my development environment. It is honestly just the Visual Web Part template. I would like to export this web part and import to ...
0
votes
0answers
344 views

Why Web Parts placed inside Web Part Zones in a Page Layout gets removed during provisioning / deploy?

I have a pretty straightforward requirement. I need to embed a Default Web Part into a Web Part Zone in a Page Layout, this so all pages using the layout will automatically have the Page Layout. Now ...
0
votes
0answers
124 views

How to set Target Audience in WebPart Programitically?

How to set Target Audience in SharePoint 2013 web part Programitically? i am trying to do it by following link.But i gor error of access denied even if i use SpSecurity.RunwithElvetedprivilages.. ...
2
votes
2answers
150 views

SharePoint 2013 Upgrade

I upgraded SharePoint 2010 to 2013 using Attached Content Database method. I followed below steps Took backup of Content database of 2010 from Sql 2008 Created New Web Application in 2013 Installed ...
0
votes
0answers
15 views

How can one view only his corresnponding timesheet from the list and fill up the required details

I have a time tracker. I need to create a view where the users can log in to the sharepoint and update the time tracker. It will be nice if anyone can help me in this issue.
2
votes
1answer
274 views

Webpart won't show tasks related to the list item

I have a 'Complaints' task webpart that's displayed under a (list) display form. The tasks are created by a workflow, when a complaint is created. I can get all of the tasks to appear in the webpart, ...
1
vote
0answers
439 views

Multiple filter value webpart connection problem

We currently try to connect a custom webpart with a list view webpart. The aim is to send multiple filter values to the list view. The problem we have is that the list view does only use the FIRST ...
4
votes
1answer
3k views

How to create a multilingual visual webpart in SharePoint 2013

Have anyone ever implemented multilingual visual web part in SharePoint 2013? I see there are many links out there on this topic but they are not cohesive and complete. I don't know how can I address ...
2
votes
2answers
342 views

Web part custom properties are cleared after save - until page refresh

I have noticed a bug that occurs on all custom web parts I created. Let's assume I have following web part (sandbox solution) with two properties: using System; using System.ComponentModel; using ...
2
votes
1answer
800 views

SharePoint 2013 How To Connect Two XsltListViewWebPart on a Page

I have create a Web Part Page and I have added two web parts, the parent is List of Person and the child is a List of Person's Address. When I connect these two webparts in code the code executed ...
2
votes
2answers
119 views

Sharepoint 2010 Custom Coreresultswebpart doesnt show message “No results…” when no results

I have created a custom Coreresultswebpart but it doesn't show the default message when no search results are returned from the users search. The OOB Coreresultswebpart shows a message like: "your ...
1
vote
1answer
2k views

Promoted Links with different sizes in same Page

I have a complicated requirement in which I have to embed a promoted link with different sizes and styles in the same SharePoint page. Figure at the bottom illustrates what I am trying to achieve. ...
1
vote
0answers
251 views

SSRS 2012 .rdl exposed in aspx page hosted as a web part in SharePoint Online 2013

From what I've read, there's no standard option for adding SSRS 2012 reports to SharePoint Online 2013. Instead, would it be possible to expose a report rdl in an aspx page hosted in SharePoint Online ...
7
votes
1answer
4k views

Is it possible to programmatically add a web part to a page in a sharepoint hosted app (JS)

I've been looking for a way to add a web part to a page using JSOM/CSOM or any other api available to sharepoint hosted apps. The only solutions I have found so far are for custom sharepoint ...
2
votes
0answers
82 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 ...
3
votes
0answers
223 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 ...
1
vote
1answer
610 views

How to add TasksWithTimelineAndHierarchy web part to site definition

I am currently working on a site definition for a customer. Their wish is to create a team site with four subsites and some specified web parts on them. Safe to say all that works, but I am however ...
1
vote
2answers
149 views

Will this work? - Site template in another server

I create custom site, custom subsites, custom web parts, lists and I add some content. I'll save site as template and I include content. Can I use this template in another SharePoint servers? Will it ...
0
votes
1answer
2k views

“Doc's I'm following” Webpart

on the mysite there is a section with the documents which I'm following. Is there a chance to display these documents in a Webpart on another site? Thanks in advance!
4
votes
2answers
1k views

prevent css inheritance from master pages

I am creating horizontal menus for a web part to give more interactive navigation options to a corporate SharePoint site that has headers/Branding etc. locked down. I notice that intended colors and ...
3
votes
0answers
282 views

Shared Documents webpart folder error

Getting a weird error that only seems to affect some of my web parts. I have a web part page on a subsite that's got its Shared Documents on there. The webpart works as expected if you click on the ...
1
vote
1answer
737 views

can .webpart be converted to .dwp?

Is it possible to convert any .webpart file to a .dwp so that I would Export a .webpart file Convert it to .dwp file (add every property in dwp format) Import it back
1
vote
2answers
299 views

Query External Data using BCS

I'm using SharePoint 2013 and I'm developing a webpart that has to query an external data and show the results. I cannot create external list due to the fact that my external table has more than ...
2
votes
0answers
38 views

convert to sandbox

How I can deploy a custom webpart solution inheret Microsoft.SharePoint.WebPartPages.DataFormWebPart as sandbox solution ? as Microsoft documentation, there is a restrication on using this class in ...
1
vote
0answers
31 views

Insert Related List doesn't work for Calendars

I am creating a series of connected web parts to display meeting minutes & action items along with meetings. I have created a lookup in my Document Library to the meeting event in the calendar. ...
1
vote
1answer
118 views

How to debug why i cannot add a webpart to a page in SP Designer

I have several custom webparts which i am attempting to add to a custom page WebPartZone using SPD2010. I can successfully add one, however when i attempt to add the other i get an "Error Creating ...
2
votes
1answer
742 views

How to upgrade a Visual Studio Project from SharePoint 2010 to SharePoint 2013 (VS 2010 to VS 2012) - For WebParts, MasterPage, AppPage, User Controls

We have a SharePoint 2010 project solution which we are trying to uprgade to SharePoint 2013. This includes webparts, application pages, user controls, masterpage, etc. Foll. is the procedure we ...
1
vote
1answer
484 views

How to implement “Item Limit” for Summary Link Webpart?

I would like to know how it is possible to do Item Limit (similar to Content Query Web Parts) for Summary Link Web Parts? Basically I want to limit the number of links they have there to a certain ...
0
votes
1answer
225 views

Add WebPart to view page on deploy

I've got a list which has got two views (a list and a calendar view), which are being created when activating a feature containing following view definition for the calendar in the Schema.xml of the ...
4
votes
5answers
4k views

No way to restore a Post.aspx blog view?

A bug in SharePoint 2013 which breaks the Posts.aspx page. Reproduce: 1) Click on the title of any blog post to open up the Post.aspx?ID=N view. 2) Place the page in edit mode and then place the ...
0
votes
2answers
180 views

How can I make my custom webpart visible to the whole farm?

I am quite new to SharePoint. I am trying to update an Integration of SharePoint 2010 to SharePoint 2013. I can add my custom webpart under the default site collection. But when I create a new site ...
2
votes
0answers
73 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 ...
1
vote
1answer
102 views

How to reset personalization?

I'm trying to add a button on a page that remove any personalization. I use this code : protected void MyButton_Click(object sender, EventArgs e) { ...
3
votes
2answers
3k views

Document Library WebPart open to specific folder

Is there a way to have a Document Library WebPart open to a specific folder? I've been playing around for a few hours and I don't see a decent option.
0
votes
0answers
70 views

Sharepoint - Visual Studio 2012 Deploy problem

I'm having a problem, when I deploy my solution through VS2012 it looks like it wont update what I already have deployed, the changes I make on code wont take effect. I have the following scenario: 1 ...
1
vote
1answer
2k views

SharePoint 2013 - Doc Library WebPart to display subfolders

Usually you put a WebPart for a Document Library on a page, and this WebPart shows the content of a specific library, starting in root. Now I have some subfolders like "Marketing", "Finance" etc and I ...
1
vote
1answer
370 views

UpdatePanel in webpart - title in browser tab disappears

I created a webpart with standard asp.net Update Panel. I noticed, that as soon as content of that UpdatePanel gets reloaded, title in browser tab disappears (or changes to http://servername, ...
2
votes
1answer
747 views

How to Pass parameters from Javascript Client Object Model to Report Viewer Web Part?

I have some SQL Server Reporting Services (SSRS) reports that take parameters. I am displaying these reports via the SSRS Report Viewer Web part on a site page. I have the parameters that are needed ...
1
vote
3answers
2k views

DefaultValue on WebPart Custom Properties

I'm new to SharePoint and I'm developing a WebPart. I'm trying to create some properties with a DefaultValue, but they stay null. Here is how I'm defining my property in my class: public static ...
1
vote
1answer
204 views

Difference between SharePoint App and SharePoint WebPart

I am new to SharePoint 2013 Apps and I have following confusion. Standard SharePoint WebPart can be added to WebPart Page and you can modify the content, appearance, and behavior of pages of a ...
2
votes
1answer
98 views

Cannot toggle personalization scope programmatically

I'm trying to switch personalisation scope for the current user: protected void lnkToggleMode_Click(object sender, EventArgs e) { try { var wpmgr = ...
0
votes
1answer
58 views

connection between Web Parts slow page view

i have a page that displaying 5 wep part (some of them are hidden) the are a connection between the Web Parts. problem is when you cliking on any link to get the view it is loading very slow (2 min) ...
0
votes
2answers
761 views

SharePoint 2013: Search Results Web Part, 2 Questions

I've added a SRWP to a page. Two Things: The webpart displays results before a search is even executed. I need this to go away. I can get this to go away by turning off ranked results, but this ...
0
votes
1answer
161 views

Disbale Chrome Control in Client Webpart

I have implemented an app which uses the SharePoint Chrome control to provide a better look and feel. This looks great when the app is opened fullscreen. However, when the app is hosted in a client ...
0
votes
1answer
29 views

Publisshing site, Display web part on every page

I am building a publishing site for an Intranet. Every page in my site has a contacts section right under the left navigation, content by query web part is used to fetch data from a SharePoint generic ...
0
votes
1answer
365 views

Web part maintenance page showing error

I have a web part page which was working fine till yesterday. When I opened it today it is showing error. I checked logs but couldn't find any worthwhile information. Then I tried to go to web part ...
0
votes
0answers
116 views

Display content of document from Document library in custom webpart

I have a site in sharepoint.I have a one Document library in site. I like to load the content of particular document in my custom web part. how do I get content of particular document using code ...
3
votes
1answer
231 views

Can I trigger event receiver when webpart is added?

Is there such an event receiver, that would fire when user adds webpart to a page? If yes, how can I create such receiver?
0
votes
2answers
759 views

Add css class to webpart cell

I'm developing my custom web part. Code generated by SharePoint is below: <div id="MSOZoneCell_WebPartctl00_ctl39_TestTile" class="s4-wpcell-plain ms-webpartzone-cell ms-webpart-cell-vertical ...