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
1answer
17 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
30 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
786 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
33 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
422 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
494 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
401 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
31 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
22 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
15 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
15 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
412 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
502 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
630 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
18 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
10 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
17 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()) { ...
0
votes
0answers
14 views

How to add a user control to a client web part SP Provider hosted app?

I'm trying to call a user control in a client web part that I've created, knowing that I need to do that in a provider hosted app. How can I do it please?
1
vote
2answers
420 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
434 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
22 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
367 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
397 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 ...
0
votes
0answers
15 views

Transcoding Videos in a Video Library [closed]

I'm using Bamboo Video Library on my SharePoint 2013. the videos are about 1 to 2 gb. the videos are not in my sql. they are in a shared folder in my network. but I can access them using the Bamboo ...
2
votes
1answer
47 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 ...
2
votes
1answer
127 views

Convert asp.net website solution to visual web part

I have a small website written in asp.net c#. It consists of 7 pages or less and a master page, connected to a database and references a class library. How to convert it to a visual web part in ...
0
votes
0answers
17 views

Webpart Properties Dropdown get selected value

In the properties of the Webpart I created a dropdownlist using an Enum from which I want to chose. public enum Farbart { [Description("Klartext")]Klartext, ...
1
vote
2answers
2k views

Getting the error “$Resources:core,ImportErrorMessage;” in share-point 2013

I am new to SharePoint 2013. I have create a visual web part in vs 2013. I have deployed and try to add the .webpart to my SharePoint 2013 team site. When I try to add the .webpart then I am getting ...
1
vote
1answer
417 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 ...
0
votes
0answers
9 views

SharePoint 2013 “Like” Option Not Functioning Properly When Two Lists on Page

I've added two web parts to a web page, both of which have the "Like" feature. These two web parts each show different lists (List A and List Z). The issue arises when i'm in the page, and I like an ...
7
votes
2answers
11k views

Setting height to 100% in Page Viewer Webpart

I want to insert another web page inside a SP2010 page. With "Page Viewer Webpart", it only takes a small portion of the vertical space available on my SP page. I had the same problem in SP2007, and ...
0
votes
1answer
8 views

SharePoint WebPart Custom Properties: Password Field as Property

I want to create text password property with masked input in my visual web part sharepoint 2010
0
votes
1answer
26 views

Custom web part properties

I have a custom web part, and if a user clicks on Edit web part, the properties pane in IE 11 appears and disappears, so sort of flickers. In IE 8 it works fine.
3
votes
1answer
2k views

Display names in dropdown in webpart property

I would like to add custom property that offers a list of choices. It is possible to use Enum type. The property will be then rendered as a combobox. public enum Group { GroupA, ...
0
votes
0answers
54 views

How to allow my Visio drawing inside a web part to occupy the whole upper area, as currently I will get an empty upper area

I have a Visio drawing with .vdw , then I used the Visio Web Access web part to add the drawing to my wiki page. I set the following settings for the web part:- But I will get a free upper area as ...
0
votes
0answers
13 views

List view web part filtering on managed metadata column

I have a web part page with three web parts; two visio diagram web parts and one list view web part. The first Visio web part shows boxes with different categories. The other Visio web part shows ...
0
votes
1answer
2k views

Have a webpart display only subfolders

I am new to SharePoint 2013. I was curious how to put a WebPart for a Document Library on a page with SharePoint 2013, not 2010. This WebPart would then show the content of a specific library folder ...
2
votes
1answer
1k views

Removing Weekend Days From Calendar

I wish to edit my 2013 Calendar web part and remove Saturday and Sunday from showing if possible so it only shows the work days of the week. Any help would be very much appreciated as i dont know ...
0
votes
1answer
15 views

Site page- watermarked background

How can I create a site page with a watermarked image as background.
1
vote
1answer
4k views

Webpart added to webpart page using modules is not visible in edit page

I am provisioning a webpart to a webpart page in sandboxed solution. here is the module's element.xml <?xml version="1.0" encoding="utf-8"?> <Elements ...