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)

0
votes
2answers
2k views

Announcement list web part

I would like to create an announcement list webpart that shows the information vertically, without column names, like in this image I found googling: Information is being shown in a column style, ...
0
votes
0answers
11 views

embeding content field into a web part

I have successfully been able to get my Content Fields show up on my Page Layout through SharePoint designer. Some of these fields don't need to be a permanent part of the layout any more and would ...
0
votes
1answer
732 views

Can I create multiple unique instances of the Newsfeed web part in Sharepoint 2013?

We've just been upgraded to Sharepoint 2013 and I am finding the Newsfeed feature to be very handy. So much, in fact, I would like to add a separate instance for the other non-interacting departments ...
1
vote
2answers
735 views

jQuery wait until the page (with several webparts and Ajax controls) loaded

I have a page which has several web parts. In some of them, it has Ajax controls. now, I need to do this: after the page is fully loaded, I want to use jQuery to change some attr for some links (a ...
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 ...
0
votes
0answers
20 views

How to check if webpart exist on page?

I have already found some solution to check if a webpart exist on a page. But I think it is not ok for the performance. It will loop into all webparts on that page. Is there some best practice ...
0
votes
1answer
13 views

Display more than one fields using content search webpart

I need to show more than one field from particular list using content search web part. Please provide me the steps or any reference links for the same. Thanks.
-1
votes
0answers
28 views

How to store data in SharePoint list? [on hold]

I am working on provider hosted app,I want to send data from a form to a SP list using CSOM and store them. How to do that?
0
votes
0answers
14 views

Toolbar Colour Change

I was wondering if anyone could help me. I have tried everything from themes to finding the web parts ID. I would like to change the colour of the web parts toolbar background and font (from the ...
0
votes
1answer
2k views

How to display the Newsfeed within a Web Part

I have page where I'd like to display the Newsfeed (My Site) of the user currently logged on? It's for a site where the community feature will be utilised so auto displaying the logged on users ...
0
votes
0answers
10 views

Can't open XSL Editor for RSS Viewer web part

I've added an RSS Viewer web part to a page in SP 2013 Online, and when I edit the webpart and try to open the XSL Editor, I get a console error: Uncaught TypeError: window.showModalDialog is not ...
5
votes
1answer
2k views

Toolbar to show the context of a ListViewWebPart

I'm using ListViewWebPart to display contents of SPFolder (subfolder inside a list) to display its contents. Below is the code to implement this: protected override void CreateChildControls() { ...
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: ...
0
votes
0answers
9 views

Getting the error Request for the permission of type 'System.Data.SqlClient.SqlClientPermission,.." failed

I created a SharePoint 2013 farm solution, and inside it I created a visual web part. the visual web part is calling a class (inside the same project) that is in turn executing an ADO SQL command on ...
0
votes
2answers
553 views

Add new Item link missing in Data View (XsltListViewWebPart)

I have created a data view for for my custom list and is rendering in a sitepage. But, I'm missing the "New Item" link above the webpart now. This page contains multiple data filters too. This was ...
8
votes
4answers
17k views

How to have two web parts side by side in same zone

I have two web parts that i want to fit side by side in the same zone, however, I'm not sure how to go about this. I've modified the width of the individual web parts to be able to fit side by side ...
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 ...
0
votes
1answer
27 views

How to display application web form in modal dialog?

I have the following code of application page formdem.aspx: <%@ Assembly Name="$SharePoint.Project.AssemblyFullName$" %> <%@ Import Namespace="Microsoft.SharePoint.ApplicationPages" %> ...
1
vote
1answer
35 views

HTTPHandler Note Hitting the the breakpoint in VS2010

I'm trying to send some Async Data to the server form SP webpart. I added the HttpHandler to the Layout folder in webpartproject and registered it in web.config file for the SharePoint site. But the ...
0
votes
0answers
9 views

field “JS link” had disappeared in web-part properties [duplicate]

I do not see "JS link" field in web-part properties for simple List. I am on SP online. I tried IE and other browsers. What's the problem?
0
votes
1answer
813 views

Toolbox controls are disabled in visual studio 2010?

When I create an empty SharePoint 2010 project with Visual Studio 2010, a lot of controls are disabled (chart, sqlDatasource). I try to reinitialize and other stuff but nothing. The controls are ...
1
vote
1answer
4k views

Sharepoint 2013 - How to remove space between web parts?

There's a very annoying chunk of space between webparts such as promoted link and a content editor, and I'd like to remove it. I tried some css found on the web, but that didn't solve it. Does anyone ...
1
vote
1answer
37 views

How to modify default site page via features?

I need to set the web part I added to a provider hosted app as a default page in the site via a module. Can someone tell me please how to modify that module in order to load the web part as a default ...
1
vote
1answer
426 views

WebPart Does Not show up in Gallery

As a noob taking a training class, I have created a very simple sandbox solution in VS2010 with the VS2010 SP Power tools. The solution has one webpart with one button. It deploys to my site, the ...
1
vote
1answer
505 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
405 views

Listbox in webpart has no selection

I'm having a problem that's really blowing my mind right now, because it seems like some basic .net functionality isn't working properly. No doubt I'm missing something really obvious. I could really ...
3
votes
1answer
1k views

Document library webpart open to specific folder

Is there a way to have a document library web part open to a specific folder? I've been playing around for a few hours and I don't see a decent option any help is greatly appreciated
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
1answer
34 views

How to Edit InfoPath Form Web Part?

I need to make changes to a SharePoint 2010 page that someone else created. I have full admin rights to the site. I was told that the page is nothing more than an InfoPath form embedded in to the ...
1
vote
1answer
25 views

How to call a user control in a client web part

I'm trying to call a user control (.ascx) in a client web part that I've created, knowing that I need to do that in a provider hosted app. Can someone give me a helpful tutorial please? What should I ...
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 ...
0
votes
1answer
16 views

I got exception when I try to update webpart programmatically, it says I need to check out the page

I have a custom webpart. Inside this webpart there is some logic to update the webpart settings. See below the code. I edit the page where the webpart is located. I click on a button which will ...
0
votes
1answer
415 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 ...
2
votes
2answers
513 views

SharePoint 2013 WebPart Timer not ticking

I'm looking for solution to Async reload webpart. In most solutions code looks like below, but code doesn't work. Timer.Tick does't fire: <%@ Assembly Name="$SharePoint.Project.AssemblyFullName$" ...
0
votes
1answer
634 views

Change URL of the Web Part Close-Button

I got a StartSite.aspx. I have some Web Parts on that site (news feed). This web part - Template has a "Close" Button. After closing an object, I navigate to AllItems.aspx Isn't it possible to ...
1
vote
2answers
19 views

Save Choice Filter Selection

I have four lists on a web page that I want to be controlled by a choice filter web part. The four lists have a common column between them, so I want users to be able to select an item in the choice ...
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
1answer
18 views

Need to show oldest 3 items in one webpart and the remaining items in another webpart

I have a scenario where I want to divide a list's items into 2 webpart views - one that shows only the x oldest items (people that should be seen next) and another list on the same page showing the ...
0
votes
2answers
13 views

Collection was modified; enumeration operation may not execute

using (SPSite siteCollection = new SPSite(HttpContext.Current.Request.Url.ToString())) { using (SPWeb oWeb = siteCollection.OpenWeb()) { ...
1
vote
2answers
424 views

Edit “new discussion” text in discussions list

Hi in sharepoint 2013 community site home page you can see a webpart named "discussions list". In that webpart I wanted to edit "new discussion" text. Webpart properties also has no option to edit ...
0
votes
1answer
21 views

How to allow only admin or site owners to edit web parts?

I am creating a sharepoint site in which I have a separate group that only contributes by adding documents to the library. But creating a contribute permission group is allowing the user to edit the ...
0
votes
0answers
8 views

Web Part Error: A Web Part or Web Form Control on this Page cannot be displayed or imported

I have created 4 custom web-part for SharePoint 2010. It was working fine till now. But now due to some reason I have to move my web-application from one port to another. I have done it successfully ...
1
vote
3answers
436 views

How to set the value of a people group field using JavaScript in the Newform.aspx

I need to set the value of my people/group field with current user on page load. I tried many different things, but nothing worked. Let me know how to do this in SharePoint 2010.
0
votes
0answers
18 views

SP 365 - Creating a web part that counts rows in list

I'm looking for the best practice to create a series of metro-style tiles possibly in the form of a web part that counts the number of rows/items in a given list. A good example is having a web part ...
1
vote
1answer
23 views

Conditional List Filters

I'm having trouble figuring out a way to create a filter that I need for a list I've made. I need to filter a certain column based on the current user. For example, if the current user is "John ...
0
votes
1answer
372 views

Make Page Viewer WebPart automatically refresh

Is it possible to make a page viewer webpart automatically refresh or upgrade? I have a report image which I am replacing every 15 minutes with a script but the Page Viewer on SharePoint isn't ...
1
vote
2answers
401 views

Error Rendering Control: Object reference not set to an instance of an object

I am exploring on trying to create a custom webpart and I am encountering this error: In my source, I have a table in which a cell will contain SharePoint:DateTimeControl. However it will ...
1
vote
2answers
67 views

Is it feasible to use an event receiver for drag and drop? Will it scale to several hundred users?

I created an event receiver triggered on itemadded that copies to the same site and binary copies to a different site. The user can drag drop documents into specific folders and they will be both ...
1
vote
0answers
42 views

Can't edit site page without loosing all content

I have a major issue with my landing page. Everytime I try to edit the page, I loose all the content, everything gets wiped out once I hit save and I've had to redo this page about 6 times now. I ...
2
votes
1answer
48 views

Can I edit a workbook using Excel Services?

I created a web part putting my Excel worksheet on one of my Document Library, so I can have the live view of that worksheet without opening it again and again, my question is, can I edit that ...