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
1answer
793 views

Pass list item metadata to filter for document library

looking for a way to filter a document library based on metadata from an item in a different library. For example I would have two web parts on a page , selecting on in item in library one would ...
2
votes
1answer
384 views

Do connectable webparts need to be in the same project?

I've found two tutorials that I'm looking at: http://msdn.microsoft.com/en-us/library/ms469765.aspx http://mstecharchitect.blogspot.com/2010/04/creating-connectable-web-parts-using.html But both ...
1
vote
0answers
36 views

datetime control to be iframed

Is there a way to i-frame a SharePoint page containing a datetime control (i.e. a datepicker)? I have a SharePoint page where I set The page is correctly "i-framed" in an external page, but the ...
1
vote
1answer
573 views

Get the list of all webparts IDs in a page using REST/CSOM

I have few content editor web parts in my page I need to get the GUID of all the web parts that are there in the page I am able to get the list of all webparts in the page by navigating to ...
1
vote
1answer
156 views

How to add webpart on Publising page using ECMA Script

I have tried to create webpart page using ECMA script, but did not get the right solution. How we can create web part page using ECMA script? Below is my code: <input id="createPageBtn" ...
1
vote
1answer
215 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
2answers
1k views

Quick edit will not appear in some views but will inside others

I have created a list with different views and each view is a standard view style. I set up a link to the view and edit the web part properties to show the tool bar. Now before I selected show tool ...
1
vote
2answers
3k views

Trending #tags webpart not working - SP 2013

We are having a problem with our "Trending #tags" webpart that is not displaying any data. It resides on the MySite host default page, (default.aspx). From my understanding #tags which are mentioned ...
1
vote
2answers
122 views

How to find where a web part has been placed

I have a task where I need to locate every page that has a particular web part on it. It looks like I may be able to get this info from the database itself but I'm not sure how thorough this may be. ...
1
vote
1answer
2k views

Force Chart Web Part to show all labels

When using the Chart Web Part (horizontal bars) only every fifth bar-label gets displayed. The end user can't see what the other bars represent. Is there a way to display every label for one axis?
1
vote
1answer
4k views

SPLimitedWebPartManager throwing “File is not checked out” error on AddWebPart and DeleteWebPart

I'm writing a powershell function to add custom webparts (i.e. not Out Of The Box webparts such as ContentEditor) to publishing pages on a SharePoint Server 2010 site. I encountered a frustrating ...
1
vote
1answer
2k views

Use a querystring parameter in a CAML Query

I want to pass a parameter between two separate web parts I am developing. In my 'Detail' webpart i need to build a CAML query to display the correct profile based on their name. pdquery.Query = ...
1
vote
1answer
1k views

Web Part Data into Sharepoint LIst

I have a custom web part which have lot of fields that will be filed out by user and on submit is there a way that i can populate these values into a SharePoint list .I don't want to use info path as ...
1
vote
1answer
236 views

default custome webpart became static on custom site page

I have created a custom site page in sharepoint 2010 and added the following code to it <WebPartPages:WebPartZone runat="server" FrameType="TitleBarOnly" ID="Main" Title="loc:Main" > ...
1
vote
1answer
391 views

SharePoint 2010 and ASP Profile Provider

We have web application with SQL ASP Membership Provider, Role manager and profile provider. This web application has both authentication methods: NTLM and forms. Everything works fine. Problem ...
1
vote
1answer
660 views

Is it safe to store the credentials in the properties of a Web Part?

In my web part, I use a class WebProxy. The object of this class uses special credentials. It would be nice to store the credentials in the Web Part properties. And so the user can change them. For ...
1
vote
1answer
227 views

How to set XSL property on inherited core search results webpart

I have created a custom Search results web part by inheriting from coreresultswebpart. I would like to override the default XSL with some modified XSL in my project instead of having to set the XSL ...
1
vote
1answer
377 views

Sharepoint Ribbon for view item form going full option

I have a view item form which contains a custom WebPart for displaying that item. I have no issue with that but the ribbon for the display form looks weird: It contains lots of options that don't ...
1
vote
4answers
904 views

How to access a library that is not in same farm. i.e. WebPart is in Farm1 and library is in Farm2

How to access a library that is not in same farm. i.e. WebPart is in Farm1 and library is in Farm2 My company has many farms and now I need to create one WebPart that is going to sit in farm1 but it ...
1
vote
2answers
9k views

How do get selected item of list?

I have a webpart .I add a listviewbyquary in createchildcontrols and a hyperlink in visualwebpart. i use this http://graegert.com/featured/using-the-editorpart-to-create-a-custom-listview-web-part ...
1
vote
1answer
1k views

Custom web part throws error when I try to add it to page

I am working on a custom web part, that keeps error out with: A web part or web form control on this page cannot be displayed or imported. the type is not registered as safe any time I ...
1
vote
2answers
7k views

target audience not working as expected with site group

In my SP2010 farm, I have : one domain group "AD Group" the group have domain\user2 as a member one site group "SP group" with the following members AD group domain\user1 On the home page, I ...
1
vote
6answers
10k views

Can't edit page after adding custom web part!

When I click on the edit icon nothing happens. No errors, no post back nothing. I ended up turning on the Console in FireBug and it throws this error: SP.Ribbon.PageState.ImportedNativeData is ...
1
vote
2answers
3k views

Can I load a dropdown list with a SharePoint list to set a Custom Web Part Property?

I found this post which claims to show you how to do it: http://blog.concurrency.com/sharepoint/create-a-custom-web-part-for-sharepoint-2010/comment-page-1/#comment-1851 But after carefully ...
1
vote
3answers
324 views

Possible to have users configure a few values when adding a webpart to a page?

I have a web part that has to does something specific with a list. I would like to have users specify which list they want the web part to use when they add it to a page and not worry about it again. ...
0
votes
0answers
46 views

Trying to create simple bar chart but the chart is not correct [closed]

I am using office 365. I have created a list Clients. I am trying to create web part -> Easy Chart - Bar chart, Easy Chart - Line chart, Easy Chart - pie chart I am not using any third party plugin. ...
0
votes
0answers
31 views

Javascript to submit Web Part without click

From a previous question, I am able to populate a textbox with a value I can use to reference another list. However, in order for this functionality to be as user friendly as possible, I would like ...
0
votes
1answer
86 views

Update XsltListViewWebPart.ViewGuid Property on Page Load

I have a web part page with two XsltListViewWebPart web parts on it. Both are the same web parts pointing to the same Tasks list. I'm trying to update the view of both web parts and have the below ...
0
votes
1answer
177 views

Display/hide control in Webpart based on edit/browse mode

I have a Visual Studio project in which I have created a Visual Webpart. In the user control I have a panel which I want to display in edit mode and hide in browse mode. ASP.NET code snippet: ...
0
votes
1answer
43 views

How to retrieve target menu of specific list web part for CAMOpt?

I'm adding a custom action on the context menu of the item using javascript CAMOpt function: function Custom_AddListMenuItems(m, ctx) { CAMOpt(m,'View (new ...
0
votes
0answers
41 views

How to show two sub web parts within a web part?

On my front page, I have a web part. Inside that web part, I have two sub web parts ( a library and a list). On the front page, in the web part, how can I show the first two items of the library sub ...
0
votes
1answer
27 views

Where can i find 'posts' web part? [duplicate]

I'm talking about this web part. This web part displaying a few posts (description + title).
0
votes
0answers
100 views

Display name not rendering correctly

I have a simple InfoPath 2013 Form. I have the Data Connection to the User Profile Service connecting and when I Preview my InfoPath Form it shows the correct Display Name of the user. However my ...
0
votes
2answers
76 views

How to display:none webpart Update

I get all webparts that I have in default.aspx using this code var pageName = "/sites/default.aspx"; var ctx = new SP.ClientContext(); var pageFile = ...
0
votes
1answer
45 views

Please suggest me controls for weekly view of calendar

I want a control like to get weekly view of calendar in boxes.User need to be navigated to another week and default view is current.I don't know how to achieve this.I tried calendar weekly view.But ...
0
votes
1answer
2k views

Sharepoint 2013 Custom Web Part: Get and display data from Oracle and SqlServer databases

I'm developing a Custom WebPart to retrieve data (based on certain queries) from a SqlServer and Oracle databases: The data should be displayed in a grid/table/etc with sorting, filtering and ...
0
votes
2answers
19k views

PDF viewer web part

I'm new with sharepoint 2013 Does anyone know pdf viewer webpart for sharepoint 2013 for free Please help me.
0
votes
2answers
341 views

How to upload jQuery library into web parts without master page

I am in the process of migrating from SP2010 to SP2013. In SP2010 the Scriptlink feature was used to upload all of the jQuery libraries from the master page. Currently I want to test some web parts in ...
0
votes
1answer
1k views

The file /_controltemplates/15/ does not exist

We are planning to migrate from share point 2010 to SharePoint 2013.So we have created one POC environment to test the customizations(master pages,Page layouts,web parts,site definition,Site ...
0
votes
1answer
5k views

Displaying a library on a different site (same collection) in SP2013

On my root site, I have a document Library which contains a lot of important documents. For this Library, on its owning site I can create a webpart which views the folders and items in a nice manner. ...
0
votes
2answers
4k views

How to get SPListItemCollection from a SPFolder?

I am making a SharePoint 2010 visual web part, and I want to recursively iterate through all files in a document library which has nested folders. I can get a SPListItemCollection for all items and ...
0
votes
2answers
523 views

Multiple Webparts with the same Javascript

I have a site with multiple Webparts. Some Webparts are linking on the same .html file. The HTML file reads data from a list and displays it in a table by using javascript. My problem is that there ...
0
votes
1answer
3k views

RegAsm : error RA0000 : Could not load file or assembly or one of its dependencies. The system cannot find the file specified

I am new to sharepoint. I try to add the Microsoft.SharePoint.dll to GAC. For that one I have used below code Code : `c:\WINDOWS\Microsoft.NET\Framework\v4.0.30319> Regasm.exe ...
0
votes
1answer
1k views

openfiledialog in webpart

How to implement openfile dialog in a webpart ? OpenFileDialog class could not be accessed in webpart. Is there any other way to achieve this ?
0
votes
2answers
3k views

how to hide webpart in Home.aspx based on some condition

I work in a financial company where we have Resident Engineers and they have account in Active Directory but they dont have official email addresses. My portal acrhitecture is like everyonce can ...
0
votes
3answers
3k views

How can I access Controls in VisualWebPart1.cs from UserControl.ascx

I make a Webpart and want to use the controls from the VisualWebpart1UserControl.ascx in the VisualWebpart1.cs. Is this possible? I wrote following code in the VisualWebpart1.cs: ...
0
votes
3answers
781 views

Webpart properties getting empty after IIS Reset

I created a custom visual user control webpart property for my SharePoint webpart. The property has a textbox which is getting empty after an IIS reset. Can anyone tell me how to solve this issue ...
0
votes
1answer
1k views

Feature Elements File

I'm having some difficulty creating a Feature which contains a Web Part and a links.xml which is processed by the WP code-behind. My difficulty is in understanding the Feature XML config files and ...
0
votes
2answers
576 views

Does web part property validation only work for visual web parts?

Suppose I define a web part property like this: private string _myString = "default value"; [WebBrowsable(true), WebDisplayName("My string"), WebDescription("A simple bit of text to ...
0
votes
4answers
2k views

Accordiion webpart in sharepoint 2010

i have a zone in a webpart page which has around 4 webparts in it. I want to create a accordion wp which when add to the webpart page, show the 4 webparts inside the accordion tabs. EDIT The number ...