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
0answers
9 views

Dropdown parameter of ssrs report in sharepoint webpart got hang when clicked

I am creating a web part which will have a SQL server report integrated into it. i have 6 parameter in the parameter box. one of the parameter have drop down in it. when i click on the drop down for ...
0
votes
0answers
11 views

Visual Studio workflow and web part

I am still new to c# and I have been asked to design an Approval Workflow in visual studio.I want to concatenate a web Part link with the task id that is created by the workflow to send it through ...
2
votes
1answer
30 views

Get all list items versions from client side

I am trying to get all versions from every item in a SharePoint list using only client-side through a web part. Following the exemple at ...
0
votes
1answer
17 views

How to find the web part: Error while executing web part: System.StackOverflowException: Operation caused a stack overflow

uls ERROR: Error while executing web part: System.StackOverflowException: Operation caused a stack overflow. How can I find out which web part is throwing this error? [This is not the kind of ...
0
votes
1answer
7 views

How to get webPart settings from an string array?

I am building a custom webpart. I have also created some generic config class where I get the webPart provisioning settings by current webTemplate internal name. I only need to know how to get the ...
0
votes
1answer
20 views

SharePoint lists and libraries are accessible without any authentication

I am new to SharePoint development, I am building an internet facing website with anonymous permissions for the pages, my current situation is that my lists are accessible without any security upon ...
1
vote
1answer
16 views

When to use the “using” wrap?

I am developing a custom webpart. I have for example this method. private void DeactivateProvisioningFeature() { SPSecurity.RunWithElevatedPrivileges(delegate() { ...
1
vote
3answers
28 views

Webpart won't update after deploy

I'm quite new to sharepoint programming and so I ran into a problem. I created a new webpart in my solution and changed it a bit. Next I deployed the whole solution and added the webpart to a newly ...
0
votes
1answer
12 views

Error:Access denied. You do not have permission to perform this action or access this resource

I am retrieving items from SP lists. But when I try to deploy my solution through VS 2013 it says Access denied. You do not have permission to perform this action or access this resource. ...
0
votes
0answers
11 views

Add multiple Search Result webparts with different result sources

I have to create a site, which has 2 result sources and 2 Search Result Web Parts. The result sources filter for different document types, so i want to display results in two different Web Parts. Now ...
0
votes
0answers
6 views

Send query to search results webpart in c#

We have to build a custom search page with a few free text and dropdown list columns that target a specific content type. Very traditional and standard situation. Is it possible to just build a ...
1
vote
0answers
11 views

An unexpected error has occurred when trying to save HTML code in script editor

I'm a beginner at this, I hope someone can help me.. I am modifying a demo web site in sharepoint 2013 that is published with dynamic AX R3 (Contoso), basically I have a full working web site. ...
0
votes
1answer
21 views

Errror: The field you are trying to update may be read only

When adding a new item programmatically to picture library I'm facing this issue: The field you are trying to update may be read only Here is my code using (SPSite site = new ...
0
votes
0answers
10 views

Unable to access web services using ajax method written in content editor web part in Share point services 3.0

I want to fill text box values depending upon the drop down selected value - for that I have created content editor web part, I want to select values for text box from other list for that I am trying ...
0
votes
0answers
12 views

Skin File For SharePoint 2013 WebPart

How Can I apply a custom theme/skin to SharePoint 2013 visual web part in visual studio 2012, like we do in asp.net
0
votes
1answer
30 views

Blog Site RSS Web Part not shown

In Sharepoint 2013 a Blog Site RSS Web Part is not showed until the SC Admin account(s) navigates to the landing page for the first time. Any idea why this way? Or if it's possible to force it. ...
0
votes
2answers
22 views

change default image of content search webpart

Hi i have a content search webpart when a user does not have a profile-image on that persons site, it display a default image like this how could i be able to change default image that is rendered? i ...
0
votes
0answers
13 views

WebpartZoneID for NavigationZone in search center's results aspx page

How to get the WebPart ZoneId of navigation zone in the results.aspx in search center site.I am trying to add a refinement web part to the navigation zone through powershell. $myCustomWP = ...
1
vote
0answers
26 views

Error While Adding Visual Web part To Master page in 2013

I am Trying to add a Visual Web part with Custom css and Java script in it. When i try to add in a layout page It works fine. But when I used the below steps ...
0
votes
0answers
18 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 ...
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
21 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
15 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.
0
votes
0answers
17 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
0answers
12 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 ...
1
vote
0answers
19 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
14 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
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
29 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
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
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 ...
1
vote
1answer
26 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 ...
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 ...
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
2answers
21 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
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
14 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
1answer
36 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 ...
0
votes
1answer
22 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 ...
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
24 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 ...
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 ...
2
votes
1answer
50 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
38 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
20 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, ...
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 ...
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.
0
votes
0answers
28 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 ...