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)

0
votes
4answers
763 views

Redirection using Content editor Webpart

Whenever i try to open a site , i want page to redirect to some other page . So , i have added a javascript to redirect using the content editor on my page . Now i want to edit the code added to ...
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 ...
0
votes
3answers
678 views

Filter webpart on the Search Page

Basically, I am Sharepoint administrator and my bad time have to create/introduce a Filter webpart on the search page Expectations are I have a custom List with 10+ columns (like CustomerID, ...
0
votes
1answer
620 views

Office Web Components 11 in SP2010

Can somebody confirm me is it possible to use owc 11 in SharePoint 2010?! I use owc chart control, and in my other project(asp.net web app) I can use owc without problems. In SP 2010 I can build and ...
4
votes
2answers
4k views

SharePoint 2010 RSS Viewer Web Part Fails to Load

Has anyone seen occurrences of the SharePoint 2010 RSS Viewer web part failing to complete loading when the page loads, instead remaining in constant "loading" mode with the Ajax indicator showing? ...
0
votes
2answers
373 views

Can you run a 32bit compiled webpart in 64bit SharePoint?

I have a webpart which needs to use a native 32bit DLL for data access (the dll is Advantage.Data.Provider, for the Advantage Database Server DBMS.) As such I'm pretty sure I need to compile it as ...
6
votes
2answers
589 views

Location of web parts in use

After running preupgrade check, I found a few instances of some web parts I'd like to further investigate. These are 3rd party web parts that I'd like to know where they are actually being used. For ...
0
votes
1answer
111 views

Multiple visual WebPart

i have created a sharepoint 2010 project, under this project i want to add multiple visual webparts but i want to deploy just one not all. it'is possible ? and how thx
1
vote
1answer
936 views

Change Display Mode of SharePoint Page based on edit Control Panel

I have a custom web part which shows a different interface when in edit mode. When in edit mode the default control panel displays on the right. When the user clicks OK, Cancel or Apply the web part ...
1
vote
1answer
2k views

Add gradient background color to list view rows with jQuery

In SharePoint 2007 using Content Types and editting NewForm.aspx with jQuery I've managed to customize the look of a new item, adding a gradient color identity for each Content Type. I want to ...
0
votes
1answer
208 views

Quick Links not showing in custom Master Page on Web Part page

I have created a new custom master page & I've got everything working (including showing the QuickLinks on the left on default.aspx & any "built in" SharePoint pages, such as "Shared ...
0
votes
1answer
505 views

Using a Java applet in a custom web part

I have a need to integrate a third-party Java applet into a custom web part I wrote. The web part simply loads a user control I created that contains the bulk of the functionality. I added the applet ...
1
vote
1answer
689 views

Why are controls being lost on postback?

I am having a really frustrating time with this. I have tried starting from scratch with a new project even, and still it happens. Basically, I have a webpart, with a label and a button in it. When ...
0
votes
1answer
3k views

Use SP 2010 XLV web part to aggregate multiple lists

I have a site collection containing sites with the same list template called Tasks. I want to aggregate all the active tasks and display them at the top level site. I think the XSLT List View Web ...
0
votes
4answers
2k views

Breadcrumb in List and Libraries WebPart

Is there a way to enable breadcrumb for a list webpart? I am talking about the OOB webpart where you can view all the folders and documents of a list within a webpart.
1
vote
1answer
694 views

sorting and paging on web part

sorting in dataviewwebpart only sorting within display items. Paging is enabled to display 10 items per page. Also, How do I put 1,2,3,4,5,6,7,8,9,10, (next, previous) for the paging? They give you ...
2
votes
2answers
5k views

Get a list of the webparts on a page

Is there somewhere you can view a list of all webparts embedded on a specific page? I have taken over development of a SharePoint website and some pages have a ton of webparts, and I have no way of ...
1
vote
1answer
840 views

How to add columns to the User Tasks Web Part?

I want to add some columns to the User Tasks Web Part. I use WSS 3.0. Is it possible to add them?
1
vote
1answer
999 views

Deploying WSP from saved as template - editing binary serialized web part in Visual Studio

I have deployed a WSP site template that originally came from "Save Site as Template" (our site was customized from a team site - STS#0). Now, we're making changes to it in in Visual Studio (as it's ...
0
votes
2answers
2k views

List item not being updated after edit

so I have a custom webpart on both the DispForm.aspx and EditForm.aspx which, on page load gets a list of all the fields in a SharePoint list and loops through each field and sets its display property ...
0
votes
3answers
1k views

SharePoint 2010: Problems with a connection provider web part which uses an UpdatePanel

I might be going about this in totally the wrong way but this is what I'm doing: I have 2 custom web parts: a company calendar and an appointment list. Both are visual webparts and both contain an ...
0
votes
1answer
1k views

How to add expand/collapse chrome type for all web parts?

Is there a way to add your own customized chrome types to all WebParts? We need some DIV structure around the web parts to make a expand/collapse effect, so that a user can click on a "plus" icon and ...
0
votes
2answers
499 views

How to: Adding icon/sign besides every returned search result?

How to create a web application level feature that displays a small icon/sign that is located besides every returned search results ? The Client wants a custom web part for MOSS 2007 and SP 2010, ...
0
votes
1answer
456 views

Personalized web parts summary links

I would need to have a personalized summary links web part in a given page. So when a user logs into the site, he should see his own links as opposed to system wide links inside the links web part. ...
1
vote
1answer
537 views

2010: Problem trying to install web part using power shell

I'm trying to deploy my first web part on 2010. I developed a web part using VS2008 and tested it on SP2007. I copied the CAB to the 2010 server and tried to use PowerShell to install it and got the ...
0
votes
1answer
236 views

Sharepoint 2007: best practice to put external database data onto web page

I have Sharepoint 2007 site and have to implement filter (comboboxes) for the list of employees stored in external database. I can develop web part with asp:DropDownList(s), data access library and ...
0
votes
1answer
144 views

Moving Web-parts - OldServer 2007 to NewServer 2007

I have a Sharepoint 2007 server that I'm setting up for a client. They have an old Sharepoint 2007 site collection that contains several web parts. They don't have the solution (sln) files for all the ...
0
votes
1answer
149 views

Calendar Webpart

My calendar WebPart is showing three columns in Day view and Week view. Month view is just fine. If I go directly to the list page, it's shown just fine. I tried creating a new calendar view and the ...
2
votes
1answer
2k views

Adding a class library to a Visual Web Part

I have created a SharePoint 2010 web part through Visual Studio 2010. All works nicely. However, I have several web parts to build in total and I have a class library that will contain standard ...
1
vote
2answers
5k views

Get discussion web part to display posts

I'm using a default SharePoint 2010 discussions web part in my site. By default it displays the top level posts that have been made to the discussion. When I click on a discussion it takes me away ...
2
votes
1answer
456 views

Anyone successfully inherited from CoreResultsWebpart with FAST Search as the provider?

I created a dummy webpart which inherits the CoreResultsWebpart. If I add the built-in SharePoint Search SSA to the default application proxy group, this webpart renders results just like the normal ...
0
votes
2answers
310 views

SharePoint 2010 Web part Deployment Error

When I deploy my web part locally everything is fine. The web part is registered as safe, and is completely usable. When I deploy the wsp to another server the web part comes back with the following ...
0
votes
2answers
309 views

WebPart made of user controls

I have a number of custom web parts which have similar functions and properties shared through each of them. Each have a subset of a larger set of functions, rather than redevelop the same controls ...
1
vote
1answer
1k views

Retrieve SharePoint File Associations Icons programatically

This article explains how you can configure icons for files in SharePoint. But what if you want to reuse these icons for custom links that your solution (e.g. webpart) generates. Is there a smart and ...
2
votes
3answers
3k views

Unknown server tag 'asp:ListView' error with Sharepoint 2010 / .Net 3.5

I'm developing a visual web part in Visual Studio 2010 for sharepoint and i have a listview control embedded. I keep getting this error message in runtime even though I made sure it's namespaces are ...
0
votes
2answers
180 views

would this retract a solution from only one server in a farm?

I have a webpart that failed on one web server and works fine on another. The issue seems to be related to the .DLL on the failing web server. If i use the command stsadm -o retractsolution and ...
0
votes
1answer
847 views

how to nest a visual webpart inside another?

I just wanna insert a visual webpart inside another, I'm using this tag to register the inserted web part like this: <%@ Register Src="~/PL/VisualWebPart1/VisualWebPart1UserControl.ascx" ...
1
vote
3answers
469 views

Access Denied on Web Part

I followed this article to display sub-sites on site collection's home page. I works fine when user have contribute access. But user with read or view only gets Access Denied. What are my options so I ...
1
vote
2answers
405 views

Remove arrows from menutemplate

I've create a web part that displays a SPGridView with an SPMenuTemplate. My problem is the context menu that pops up has these little arrows on the left hand side which are undesired and which also ...
2
votes
2answers
1k views

Personalizable web part custom property not shown for users with Contribute permission level

I've create the Web Part for SharePoint 2010, which contains simple custom property with PersonalizationScope.User. Web part inherited from the System.Web.UI.WebControls.WebParts.WebPart private int ...
1
vote
1answer
435 views

SharePoint Document Library Views are no longer visible

I created 5 different views in a document library and by accidently I went to the edit page of the library and deleted the default document library webpart. Now I added the same doclib webpart again ...
1
vote
3answers
3k views

How do I hyperlink columns in a List View Web Part without SharePoint Designer?

I know I can use SharePoint Designer to convert a list to a data view web part and then I can do this easily. But I wanted to know if there was a way to do this with a list view web part without the ...
0
votes
1answer
382 views

Pass data between Viewer and Editor web parts

I'm writing my first web parts for SharePoint 2010. I have two web parts, a viewer and an editor. In the viewer web part I have an edit button that when the user clciks on I want to populate the ...
1
vote
2answers
769 views

Which approach to use for connectable web parts?

I just finished this tutorial, pretty simple. But I also found this other one talking about the same topic. What I don't understand is what's the difference and when should I use one method or the ...
0
votes
2answers
1k views

Is it possible to show an announcement list as two columns?

How is it possible to display an announcement list of items, in two columns in the same web part, with just their names as clickable links being displayed on the web part.
1
vote
2answers
207 views

Web part for Flash? Detecting Flash supportability?

I want to develop a web part (For: MOSS2007 and SP2010) that displays Flash file (.swf), and I found out this source code (http://www.codeproject.com/KB/sharepoint/MOSSFlashWebPart.aspx) which seems ...
4
votes
3answers
2k views

The same web part (.wsp) for MOSS 2007 and SP 2010?

Is it possible to have the same web part (.wsp) for both (MOSS 2007 & SP 2010)? Assume that I want to develop a simple web part, and I want to deploy it on MOSS 2007 and also on SP 2010? So, is ...
0
votes
3answers
509 views

move or delete webpart that comes with default.aspx page

I am using Parentweb.Webs.Add to add subsite. However the default.aspx comes with sharepoint log which I dont need. Also I need to move the announce webpart zone to the right. And delete calendar ...
2
votes
2answers
2k views

“A Web Part or Web Form Control on this Page cannot be displayed or imported. The type could not be found or it is not registered as safe.”

I have deployed a webpart to my MOSS 2007 environment and have the following error: "A Web Part or Web Form Control on this Page cannot be displayed or imported. The type could not be found or it ...
0
votes
1answer
256 views

How can I find out if the current user is a member of a particular audience?

I am trying to do some things in a web part based on the audience that a user is in. This is my first pass at the code, and it works on my dev VM. However on the test machine it fails blocking access ...