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 proper library inclusion.

learn more… | top users | synonyms (3)

3
votes
1answer
2k views

Use Credentials Provided to Sharepoint for Webservice Authentification

I created a webpart that is able to consume a service provided by Dynamics NAV 2009 R2. I documented in short what I did so far: http://shb.vps.bitfolk.com/nav-sharepoint.html I use the following ...
0
votes
2answers
375 views

How do I add a webpart to all Enterprise Wiki pages?

I've got a quick question here. I want to add a button to all of my Enterprise Wiki pages, the button should lead to that page's edit form. My question is, what is the best way to add 1 webpart to all ...
0
votes
1answer
384 views

Date Control and Dataview filter on created date using Sharepoint designer

I know this is fairly simple but I am using SharePoint Foundation 2010 and I have a dataview web part and a calendar asp.net control. I created a parameter named SelectedDate and had it to get it's ...
1
vote
2answers
2k views

How can I use one list column to retrieve another column value in a different list

I have a web part that I display a data view of one list say List A (below). This list has one column as a lookup which is already another existing list say List B. Say, List A {Project Name, ID, ...
0
votes
0answers
32 views

Sharepoint webpart outside sharepoint

I need to access a webpart with silverlight object outside sharepoint. Is that possible?
1
vote
2answers
3k 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 ...
0
votes
1answer
376 views

make the whole row clickable in listview grouping

I have a little question, there is a listview webpart that is grouped on a specific column, called status, the status has 2 values, Opened, Closed, In Progress. There is a plus, minus buttons beside ...
0
votes
1answer
333 views

Unable to add a webpart created through SharePoint designer 2010?

I am trying to create a webpart through SPD 2010 on a list. Below are the steps which I followed: Open site in SPD Go to List. Edit list in designer. Go to Views. Click on one of the Views. Click ...
1
vote
0answers
520 views

CreateChildControls() in Visual Web Part in SharePoint 2010 called twice

(x-post from http://stackoverflow.com/q/17065543/1943) I have a Custom SharePoint 2010 Visual Web Part which I've realized is calling the CreateChildControls() method twice. I've tried setting the ...
0
votes
1answer
86 views

Web Part Javascript best practice

I have extended the CoreResultsWebPart in order to do some custom processing, but I am now considering breaking out some of the functionality into a new web part. Is it considered bad practice to use ...
0
votes
1answer
479 views

Create Password Field in webpart properties

I have created a custom web-part. this web-part have a custom web-part properties. i want a Password field in this property. How can i do this ? Any help will appreciated ..
5
votes
2answers
15k views

Display New Form of a List in a Web Part page

How can we show a List Form/New Item Form (/servername/site/Lists/listname/NewForm.aspx?) as a web part in a SharePoint 2010 page? Adding a list web part obviously only shows the list items/views. I ...
0
votes
1answer
668 views

Order of web parts programmatically added to SharePoint page

I am adding multiple list viewer web parts to a SharePoint [web part] page using the code below: // Create the object SPLimitedWebPart Manager SPLimitedWebPartManager WebPartMgr = ...
2
votes
2answers
600 views

Is it possible to pre configure a summary link webpart in a custom page layout with several links?

I created a custom page layout with SharePoint Designer for use as a new default or welcome page in a publishing site. The page layout should contain a summary link web part that is pre configured ...
1
vote
3answers
56 views

New to Developing SharePoint Web Parts and Features

I recently Developed a really simple web part scoped to site (or at least it's feature is). I also created a feature that up[on activation is suppose to create a new content type. That's fine and ...
1
vote
1answer
45 views

Calendar Functions

I am interested in creating a calendar view from a SharePoint list that contains asset IDs and dates, linked to entries in an Assets table. My original intention was to create a custom web part to ...
0
votes
1answer
497 views

Can I insert multiple People Search Core Result Web Parts on the same page?

I have created a department page displaying a gallery of staff along with a few select fields from their user profile. I successfully used a People Search Core Results web part with a Fixed Keyword ...
1
vote
0answers
470 views

SharePoint 2013 and advanced webpart connections

Since WSS 3.0, we have used custom webparts and webpart connections to build customer solutions. A connection between two webparts can contain multiple parameters, which was fully supported in WSS ...
1
vote
1answer
28 views

How can I show a web part on a list view web part page only when viewing the contents of a folder?

I have a document library with several folders. I have a content editor web part that I would like to display only when viewing the contents of one of these folders. I'm sure I could come up with a ...
0
votes
1answer
157 views

Pass user credentials to JSP website from SharePoint website

I have developed a JSP website. I also have a SharePoint server based website. Let's call my JSP website to be www.xyzjsp.com and my SharePoint based website to be www.mySPwebsite.com How can I ...
0
votes
1answer
39 views

Picture Web Part Proerties customization

I have a requirement to develop a picture web part that will gather pictures from various places in site collection and show the slideshow. Custom Properties that needed are as follows: There will ...
0
votes
0answers
41 views

SiteURL for SharePoint

I have developed a custom web part. This has got the site URL to set in the runtime based upon the Alternate Access Method i.e (Intranet or Extranet). So Site URL will change automatically based upon ...
0
votes
2answers
230 views

Search Core Web part with fixed query duedate

I have a search core web part and i would like to put there a fixed query, which will search all tasks whose duedate is over, i've added duedate to the columns and it works, but when i try to write ...
7
votes
2answers
2k views

Anonymous access: Add an Item to List without allowing to View the List

I'm creating a 'Contact Us' webpart with form to allow anonymous user to send a message which will be added to a SharePoint List. However I cannot grant the anonymous user the permission to Add ...
0
votes
2answers
169 views

Search core query webpart and custom xslt with paging or other approach

I have an issue, basically I created a custom web part which inherits from SearchCoreResults. This webpart searches all the possible tasks across WHOLE sharepoint and shows them if they are not ...
0
votes
0answers
44 views

Code in the web part

I have the following code in a web part which does the job to pull the information from the external website and create an XML file as data source to a datalist web control. This Data list should be ...
2
votes
1answer
962 views

Client Web Part - Determine if page is in edit mode

Like in topic. How to determine in a client web part (on remote web) if a page that the web part is placed on, is in edit mode? if it is possible?? Thanks
1
vote
1answer
172 views

How can I apply a Web Part to all the sub sites?

I have an Enterprise Wiki site collection and it have 5 sub sites, currently I have implemented a Web Part which extended the page layout. But I am facing this:- To apply the page layout I have to ...
2
votes
0answers
94 views

Making Table of Contents Webpart Relative to Site

I'm creating a sidebar navigation in a Page Layout and one of the items I'd like is a Table of Contents. I got it to work and it's showing the navigation links, however I have to set it up for each ...
0
votes
1answer
246 views

How I Can I add a code behind to a layout page using web parts

I am following this link on how to create metadata navigation :- http://markuspersson.wordpress.com/2012/01/19/add-metadata-navigation-on-custom-page-layouts/ so I added the references for the ...
0
votes
1answer
94 views

How to approach a file in visual webpart

To explain my question, lets consider I'm developing a webpart in Visual Studio, a visual webpart. By default when I add a webpart to solution, it creates a MyWebPart wich exists of 3 files: ...
1
vote
1answer
720 views

Set Web Part Recommendation Settings in elements.xml or .webpart file

Is it possible to set the Recommendation Settings of a WebPart in the elements.xml or .webpart file? Just like you can do with Group, Title and Description...
0
votes
1answer
777 views

Sharepoint Online SPUtility.GetLocalizedString in WebPart

Trying to get localized content working on Sharepoint Online. I followed the steps here: http://msdn.microsoft.com/en-us/library/fp179919.aspx#LocalizingAppWeb to create 2 resource files under ...
1
vote
3answers
2k views

How to Make Webpart Title to Display Day of the Week?

I have list View webpart in my sharepoint 2010 team site home page. Generally Web Part title can be easily modified by editing the webpart and providing Title value. I am looking for a solution to ...
0
votes
1answer
495 views

How to add the close button in SP.UI.Status

I use status bar to show exception message in code-behind. I wanna add a close button in the status bar for user, so they can remove the bar. Here is my code: protected virtual void ...
2
votes
1answer
129 views

Error using ListViewWebPart in a “using”

This one has me stumped. I'm creating a ListViewWebPart, which ultimately inherits from System.Web.UI.Control which implements IDisposable. So ListViewWebPart should also be IDisposable. Right? But ...
0
votes
1answer
44 views

Display custom library in webpart?

I created a library called Training and I want to display that on my page in a web part. How is this achieved?
1
vote
1answer
768 views

Update list content using a web part

I'm currently displaying content from a list using a webpart, is it possible to update the content of this list using the webpart ? I would prefer to use an 'out of the box' web part. How can I ...
0
votes
2answers
48 views

Site Pages Library create custom page

I am wondering if there is a way to set up a site pages webpart that creates a templated page instead of the blank one that is currently generated?
1
vote
1answer
365 views

Full-Trust Solutions on SharePoint Online Dedicated

I am trying deploy a solution to SharePoint Online (SPO), after looking at documentations about SPO, I found only Sandbox Solutions and Apps can be deployed to SPO, but my solution is a Farm Solution. ...
1
vote
1answer
2k views

How to call method on code behind class from webpart ascx

I have a very simple webpart with the code behind below. using System; using System.ComponentModel; using System.Web.UI.WebControls.WebParts; using System.Linq; using ...
0
votes
1answer
447 views

programmatically manipulate survey list perform add update delete operation

I want to create Polling app. For that i want to learn about survey list. That can I add update delete survey list data Programmatically.? First of all i want to create a web part which perform this ...
3
votes
2answers
869 views

How to publish blog posts on behalf of another user in SharePoint 2010?

I have blog for our management team. Assistants will be posting instead of the managers. I have created a column called "Author" which is "people/group" lookup field for the assistants to add a person ...
1
vote
1answer
61 views

Can I access in a SharePoint 2010 Online webpart, some webservice and do some CRUD?

I am using SharePoint Online. It is only possible to build sandbox solutions webparts. Is it possible in a sandbox solution webpart to access a webservice somewhere on the internet? I would like to do ...
0
votes
4answers
2k views

Add css class to WebPart placeholder div

I have a simple webpart that all it does is go through a list of items and uses a repeater to display the html. The webpart itself however wraps the generated repeater elements with a div like this: ...
0
votes
1answer
193 views

Sharepoint Online traverse List Items and output HTML

I am building my WebPart locally and when ready will deploy to SPO. I want to traverse the items of a list using LINQ (or whatever is most proper) and generate HTML based on those items. That's all ...
2
votes
1answer
368 views

Updating contents in a custom webpart in a Discussion Board topic page

I have made a custom Visual Webpart. I'm wanting to periodically update a label in the webpart without refreshing the whole page. I've got the label to update, however it is also updating the replies ...
1
vote
2answers
429 views

How to access list data using a web part?

I have a list which displays multiple rows of text. Is there a custom Sharepoint web part I can use to select specific row ? This question How do i display data from multiple lists? is in relation to ...
1
vote
1answer
3k views

How to show organization chart in SharePoint 2010

How to show organization chart for a company in intranet portal without using any third party web part? what is the simplest way to show data correctly?
0
votes
1answer
28 views

Is it possible to share the same list type among different sites?

I'm accessing list content via its corresponding webservice. I'm re-creating new lists for new sites but often the list content type is the same - image, link etc.... Is it possible to create a list ...