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)

2
votes
2answers
353 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
838 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 ...
2
votes
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
256 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 ...
8
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
83 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
232 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
632 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
151 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
287 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
778 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
309 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 200,...
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
32 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
119 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
789 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
498 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
228 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
184 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
104 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) { WebPartManager.Personalization....
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
71 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
382 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
767 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
218 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
60 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
771 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 also ...
0
votes
1answer
170 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
368 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
129 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
235 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
778 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 ms-...
1
vote
1answer
341 views

Converting an ASP.NET application into a SharePoint application, need assistance on doubts and good practice [closed]

we have a ASP.NET simple application with custom functionality that performs certain calculations based on data entered in text box and shows output in a label. We would now like to use it in ...
0
votes
1answer
286 views

Setting asynctimeout property for scriptmanager in web part

I have a web part which takes long time to load and results in time out. I read there is a property in scriptmanager which by default is set to 90 seconds. Is there some way to increase this ...
0
votes
0answers
55 views

Publishing Image Always Null in Code

I'm building a web part that outputs fields from child site welcome pages. I use publishing images to allow users to select the background images from a library. Whenever I attempt to get the images ...
0
votes
1answer
850 views

List and Library Web Part view [duplicate]

Since we upgraded to WSS 3.0, I have an issue with the list webpart on the default.aspx page. If I go to Edit page, add web part - list or library, the view used on the default.aspx is incorrect. It ...
0
votes
2answers
260 views

Make the calendar web part static

I have a request to make the calendar web part static. Not allow users to change the month or click back to the previous week. Is this possible?
1
vote
2answers
608 views

Use webpart on subsite to read a list on top site

I have created SharePoint admin list, where I have saved a variety of things for webpart. Only admins can read the list, I have removed user rights from everyone else. The following Webpart reads ...
1
vote
1answer
630 views

Get SharePoint logged username from page displayed at WebPart

I have a webpage hosted in my local server being displayed inside a Page Viewer Web Part in SharePoint 2007. I would like to include a user check inside the pages in my server, so when an user tried ...
1
vote
1answer
18 views

Continue working on a webpart that has been deployed

I might not understand the whole concept of SharePoint yet, but is it possible to continue working on a deployed web part without the original Visual Studio-project? We have a third party company ...
1
vote
2answers
663 views

Font symbol (Wingdings3) not working within SSRS ReportViewer Webpart

We have an SSRS report that uses the Wingdings3 font for rendering arrow signs in a table. In the SSRS Preview pane, the table renders fine: However, on the Sharepoint page where the report is ...