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)

3
votes
1answer
508 views

How do modify active directory user properties?

I use this code for find users in AD SearchResultCollection results = null; try { SPSecurity.RunWithElevatedPrivileges(delegate() { ...
3
votes
2answers
1k views

How to set link on images with SP OOTB picture library slide show web part?

I added a link column in my picture library and populated with links. Then added SP OOTB picture library slide show web part. Both pictures and it's description are showing. I need the link to be on ...
3
votes
2answers
710 views

Can I create a connected web part using Silverlight in SharePoint 2007?

Currently, I have a connected web part that consumes a SharePoint list and uses the data to add locations to a Google Map control. What I'd like to do is use the Bing Maps Silverlight control and use ...
3
votes
3answers
1k views

Dynamically registering JavaScript from within a sandbox web part

I am mid-way through development of a corporate intranet that will be hosted in SharePoint Online. For this reason, we are restricted to using sandbox solutions. One of the last "gotchas" that I need ...
2
votes
5answers
222 views

Getting twitter updates into sharepoint

I would like to get the twitter updates from a user account onto my SharePoint site. Please suggest me how to use that functionality.
2
votes
3answers
15k views

“The type is not registered as safe” when trying to add a web part installed by a WSP

I keep getting this error when I try to add a web part that I added through a WSP: A Web Part or Web Form Control on this Page cannot be displayed or imported. The type is not registered as ...
2
votes
8answers
3k views

How to determine which WFE you are hitting?

Webpart on the home page broken but does not appeared to be broken all the time. So I need to find out which WFE webpart is broken? Load balance is in place with 2 WFE. or is not the WFE since ...
2
votes
1answer
181 views

Remove problem web part from my site page

How can I remove a problematic web part from a customised my site page? The web part is redirecting me to another site before I have chance to remove it
2
votes
3answers
650 views

Can a web part prevent master page jQuery from executing properly?

I'm including jQuery and a custom .js file into the master page of my SharePoint 2010 site. In the $(document).ready() function, I'm setting a live event handler on an element in the header of the ...
2
votes
3answers
10k views

Install-SPSolution : This solution contains no resources scoped for a Web application and cannot be deployed to a particular Web application

I have a powershell script that deploys about 12 web parts. They have all been created in the manner through visual studio 2010 and are being deployed to sharepoint 2010. I am getting the following ...
2
votes
4answers
5k views

Content rotator for SharePoint lists

I'd like to build a content rotator web part for SharePoint 2010 to display list information. I'm working with the ever-popular AnythingSlider. A couple of questions: How would I let the page author ...
2
votes
3answers
2k views

How to get value of List Filter web part in Javascript?

I use the SharePoint List Filter web part on a page to control several Data View Web Parts. How do I read the current value of the List Filter in Javascript?
2
votes
3answers
4k views

Get Web Part name from GUID

We're migrating from SP2007 to SP2010 and are seeing some error messages about missing web parts during the upgrade, but the error messages only list the GUID and not the web part name. Is there a way ...
2
votes
4answers
3k views

Is it possible to add webpart zone in sitepages?

I had a SharePoint site where I created a page (not a webpart page). Can I add webpart zone on this page?
2
votes
3answers
3k views

How do you create webpart-specific config files?

How do you create application specific config files for a GAC-deployed webpart in SharePoint 2010? Which one or more of app.config/web.config/supplemental config are appropriate to use for webparts? ...
2
votes
2answers
937 views

Users image in my site programatically

How to get the users image in my site programatically? I need to show image of the logged-in user in my webpart.
2
votes
4answers
920 views

Creating a news site with out-of-the-box web parts?

In my company we have these periodically released news bulletins. One news bulletin is one html page. Now I am looking for a way to create a decent overview of these bulletins whilst also displaying ...
2
votes
3answers
2k views

web parts vs user controls

I need to develop a SharePoint solution that has many layout pages, ten sub sites to be exact. Each department wants to have its own slight variation on the three layout pages proposed at the ...
2
votes
4answers
2k views

How do I delete closed web parts from a page?

Due to a performance issue, I closed a few web parts that were on the page, however I now would like to delete those permanently. How do I delete closed web parts from a SharePoint page permanently? ...
2
votes
1answer
4k views

How to add Newsfeed webpart to SharePoint 2013?

I cannot see it anywhere: neither in Edit -> Insert -> Web Part, nor Edit -> Insert -> App Part. Do I have to enable a certain Feature to be able to use Newsfeed?
2
votes
1answer
97 views

Web Part without any title?

Is it possible to create a web part without having any title (not missing title message either). The reason I want to do it is, I want to show a message on the first page. Is there any other way to ...
2
votes
2answers
90 views

Global property for all webparts on a page

Not sure if this is even possible. Is there a way to setup a global property that can be used by all webparts on a page.
2
votes
5answers
5k views

How can I show announcements from a different site collection?

We have a site collection at the top level to create the navigation between the different site collections of all departments. The desire is to have a central announcement board on the main page of ...
2
votes
2answers
325 views

Web parts documentation for SharePoint 2010

I can't seem to find the documentation for Web Part development on SharePoint 2010. I need all the details, connectable web parts, custom verbs etc and what has changed since MOSS 2007. Thanks.
2
votes
3answers
532 views

Any problems using Smartparts to host ASP.NET user controls directly in Sharepoint?

I am thinking about using SmartParts (http://www.codeplex.com/smartpart) to directly Host ASP.NET user controls in sharepoint. This needs however that I manually copy all user controls to all WFE ...
2
votes
2answers
1k views

How to make a web part configurable?

I am using SharePoint Server 2007 Enterprise with Windows Server 2008 Enterprise. I am using publishing portal template. I am developing using VSTS 2008 + C# + .Net 3.5. I want to develop a WebPart ...
2
votes
4answers
69 views

App Part VS Webpart

What is difference between an app part and web part in sharepoint 2013 ? I only know apps load inside an iframe .
2
votes
4answers
424 views

Web Parts overlapping undesirably

On our SharePoint 2010 Enterprise environment, every page is having some strange behavior with the web part zones. In Edit mode, it essentially looks like this: In non-edit mode, it looks even ...
2
votes
2answers
210 views

Can we avoid clunky hiding of WebParts?

It's a real drag and performance killer to have to load all the WebParts on a page and then laboriously hide and reveal all the ones relevant to user groups / permission levels. Especially when on the ...
2
votes
1answer
512 views

How to Fetch Data from .ICS file in Sharepoint 2010 ?

How to fetch data from iCalendar file in sharepoint 2010 webpart ?
2
votes
2answers
2k views

Closed vs. Hidden Web Part - what is the difference?

What is the difference between "Hidden Web Part" and "Closed Web Pat"? PS. I tried to search on the internet but could only find "deleting vs. closing" web parts Sharepoint 2010 (Sharepoint ...
2
votes
3answers
2k views

The <today/> tag not working in my CAML Query?

I am trying to retrieve the 5 most upcoming (with respect to expiry date) announcement list item "Title's".The query partly works but what it fails to do is include and display todays announcements as ...
2
votes
1answer
2k views

How can I override default css in SharePoinrt 2010 web parts

I would like all my custom webpart and default webparts to look the same. I know css classes like: ms-vh and ms-vb are used for the fonts, anchors and cell backgrounds. What would be the best way to ...
2
votes
2answers
484 views

Edit a webpart in SharePoint

Someone deployed a webpart to our site that left and that webpart changed the globalbreadcrumb banner of the sitecollection. The webpart is needed to be used, but I want to remove the code that is ...
2
votes
1answer
551 views

Easy way to add a custom web part property to a web part?

I'm creating a web part using Visual Studio 2008 for SharePoint 2007. If I'm creating the web part from scratch, I typically don't have any properties defined yet in my code. I've found that it is ...
2
votes
2answers
587 views

How do I disable the web part export option?

I have the requirement to not allow users to export my custom web part. How do I disable/hide the Export menu option?
2
votes
2answers
837 views

Display list of file(s) within document library

Scenario : Sharepoint 2010 foundation site with a document library. The library has many folders (and probably sub-folders in each folder). There are files in these folders/sub-folders. I am looking ...
2
votes
3answers
2k views

SharePoint 2010 - Add WebPart to a Web with PowerShell

I want to add a webpart to a great number of existing pages. Is there any PowerShell command to add a webpart to a webpart page?
2
votes
3answers
207 views

Recommendations for a 3rd party webpart that allows recurring events to be filtered by date

A while back I asked if it was possible to filter a calendar containing both recurring and normal events for items occurring [Today]. The consensus was no which I passed back to the user. Now they've ...
2
votes
1answer
375 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 ...
2
votes
1answer
786 views

Create Web part programatically VS 2010

we are to create several web parts after a site is provisioned with WSP. I can either create wp from scratch on feature action. Or save a set of WP in gallery and create an instance out of that when ...
2
votes
2answers
2k views

Possible to access controls on parent page from SharePoint popup?

I have a web part from which I am popping up a aspx page that is used to upload a file. Code: <a href="javascript:SP.UI.ModalDialog.OpenPopUpPage('/_layouts/MyProject/UploadFile.aspx');"> ...
2
votes
2answers
2k views

When to use application pages (aspx) versus web parts?

I'm struggling with this question at the moment... Basically I'm pulling a set of data out of a DB table related to our LOB application, listing it, and then want to click through from this list to ...
2
votes
1answer
4k views

Get the current UI language from a webpart

How can I get the selected language in the screenshot, from inside of a webpart? I'm using sharepoint 2010. My webpart is a "visual web part" created in VS2010. I'm trying things like ...
2
votes
3answers
2k views

Problem with SPGridView and SPGridViewRow.FindControl

In a SharePoint webpart I am displaying an SPGridView. The SPGridView control is inside an Ajax updatepanel and is bound to a datatable in the code. The columns for the gridview are created mostly as ...
2
votes
2answers
76 views

SharePoint 2013 Upgrade

I upgraded SharePoint 2010 to 2013 using Attached Content Database method. I followed below steps Took backup of Content database of 2010 from Sql 2008 Created New Web Application in 2013 Installed ...
2
votes
3answers
181 views

Q&A Webpart for Sharepoint

Is anyone aware of a Question and Answer webpart for sharepoint 2010+ I'm looking for similar functionality to the Stack Network rather than a forum. The audience for this site will consist of ...
2
votes
1answer
223 views

Programmatically list folders from a document library

I have a document library with several layers of folders within, I'm trying to populate a dropdownlist in a web part to display a tree like display of the folders but my code foreach(SPListItem ...
2
votes
1answer
1k views

How to add Client Web Parts (App Parts) to a page from JavaScript CSOM?

We're working on a custom way of adding and deleting Web Parts and App Parts to a page in SharePoint 2013. We have to use the new App way of developing and all code has to be using the JavaScript ...
2
votes
1answer
3k views

How to open a form in a modal dialog popup using C#

I have virtually no experience with web development but now I need to create a web part for SharePoint 2010 and I am stuck. The web part is supposed to find all content types derived from folder ...