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)

1
vote
2answers
3k views

Dynamically add controls to webpart without Postback?

Is it possible to dynamically add controls to a webpart without having a postback for example with AJAX/Java Script/jQuery/Partial Postback within SharePoint? I'm searching for some kind of ...
1
vote
2answers
4k views

How to loopthrough all webparts inside a page layout

I have a requirement where I have to loop through all the web parts in my page layout whether they are in WebPartZone or not and render only the webpart instead of rendering webpart zone. I am able ...
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 ...
0
votes
1answer
1k views

Filter form for a list

I have a Sharepoint 2007 site and want to create a list that users can filter dynamically using a form or something similar. The use case is as follows: A user is shown a list with any number of ...
0
votes
1answer
792 views

Logging in custom Webparts and Application pages

I'm working on a SharePoint 2010 project which consists of a few application pages and some webparts. Whenever some error occurs in any of the custom pages/webparts I get the sharepoint error page ...
1
vote
1answer
169 views

List View in Sharepoint WebPart Page

I have created a webpart page..now i want to add a list view(CustomerListView) to the page... so i went ahead and edited the page and added the particular list(customerList)..but the dropdown box in ...
1
vote
1answer
267 views

Opening videos in browser with XsltListViewWebPart

I created a Document Center site which has its own Content Query Web Parts. When I upload a video file to this document center, the Content Query Web Parts are playing the videos in browser with modal ...
2
votes
1answer
581 views

Retrieve only the fields shown in userdisp.aspx from User Information List

I have built a Web Part in Visual Studio 2008 to show the current user's information (this is for WSS 3.0). I have no problem iterating through all the fields in the SPListItem, but I want to filter ...
2
votes
4answers
4k 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?
1
vote
1answer
413 views

Webpart not taking up entire space

I have a custom sharepoint site where the Main area consists of two table cells. The left contains the navigation and the right contains things such as Calendar webparts. The problem is that the ...
2
votes
3answers
5k views

Expanding and collapsing sharepoint webparts

I want to implement a collapsing/expanding feature to all my webparts in a certain page and tried the code shown here: http://moblog.bradleyit.com/2009/08/sharepoint-expand-or-collapse-web-parts.html ...
1
vote
1answer
4k views

Announcements Webpart Customization

Can I change the default look of announcements to view them using prev and next buttons. Can this be achieved out of box, or do I need to create a custom webpart. Also how can I set the expiration ...
1
vote
4answers
5k views

ContentEditor WebPart Edit Permissions

I have a publishing site. A user is in the visitors group. On a certain page I have given the user Full control. They can edit the body of the page but cannot edit the content of a ContentEditor ...
1
vote
1answer
64 views

Web part to list all pages unless they are hidden (site settings -> navigation)?

I have a web part that displays all pages in a repeater from the current site. If I go to site settings -> navigation and hide one of the pages then I don't want this page to be displayed in the web ...
3
votes
3answers
2k views

Content query web part

I'm using SharePoint 2007. I need to use "Content Query Web Part". This web part displays a link to the item, I need the content type to show me all the rows (item). Is that possible? I do not want ...
0
votes
1answer
115 views

Get error when inserting web part to page

We're implementing a custom web part (based on this article) but it throws this error when trying to insert it into the page: A Web Part or Web Form Control on this Page cannot be displayed or ...
1
vote
1answer
478 views

Visual Web Part - applying a custom sort order on a list of items in Edit Mode

I'm exploring how to build a Visual Web Part, that in edit mode, allows me to apply a custom sort order on a list of items. For simplicity, assume that when I load the web part, I can populate a ...
1
vote
0answers
607 views

Creating Custom List Definitions that Use InfoPath Forms - Deploy everything using Visual Studio 2010

I'm trying to create a list instance from a list definition, all from a VS2010 solution and want to have custom InfoPath forms for the list instance. This article keeps popping around in my searches: ...
0
votes
0answers
722 views

How to set custom Web Part values through powershell?

I am using a powershell script to initialize several values of a custom webpart and then insert that webpart onto a page. I have been partially successful using the method below: ...
0
votes
1answer
1k views

How to add an instance of a custom webpart to a web page using PowerShell?

I found this article which does a very good job explaining how to add built in web parts (like the content editor webpart). Unfortunately when I tried to add my own I couldn't get it to work. I have ...
2
votes
2answers
1k views

Displaying Documents With ListView Across Site Collections

Is there a way to use the SharePoint ListVeiw web part to display documents contain in a Document Center site collection? We are not seeing a way to use this web part and point it to a Document ...
1
vote
3answers
600 views

Is ist possible to share viewstate properties between webparts?

I have a class "Wepart A" and a class "Webpart B" which have some similiarities. So I introduced a BaseWebpart from which A and B inherit. I want to share 2 properties (SortColumn and SortDirection) ...
1
vote
2answers
2k views

Table of contents web part remove max 50 limit - without editing the web.config file

I know that to remove the max 50 limit on a TOC web part you can edit the web.config file by adding DynamicChildLimit="0", but I unfortunately do not have access to the server itself to be able to do ...
0
votes
1answer
582 views

Alert Message when Web Part/Zone Removed from Page Layout

I removed web part zone from page layout and deployed it using FEATURE. I see the web parts and zone removed from all existing pages using that page layout. However, I see following warning first time ...
1
vote
2answers
252 views

Reference of jquery increase with edit of CEWP

I am trying to use jquery in CEWP. In my html script, I am providing jquery reference which is available in SiteAssets library. I am using jquery library for some fancy slider. When I save html ...
2
votes
1answer
2k views

Moving web part out of SharePoint Designer 2010 to Visual Studio 2010?

I've developed a data form web part in SharePoint Designer 2010. The web part present a filtered view of a list along with edit and insert functions. I want to move the code out to Visual Studio into ...
3
votes
2answers
1k views

People search box results URL doesn't work

We are using SharePoint 2010. We are having a problem with the web part “People Search Box”. We created a custom page from a page layout and added the web part. We have edited the web part and ...
2
votes
3answers
828 views

SharePoint 2007: Site owner can add/delete content query web part but cannot modify it

This is a hair pulling defect that I cant figure out. Out intranet has an extended content query web part that is widely used. After our last deployment site owners were unable to modify these web ...
2
votes
3answers
2k views

Problems adding webparts to a page in the correct order

I would think there's something supersimple I'm missing, but I can't find where I'm going wrong. I have a feature deploying a default.aspx page with two CQWP webparts. I use the AllUsersWebPart ...
6
votes
3answers
9k views

Enable Business Data Web Parts in site

I am using SharePoint Server 2010 and we do have Enterprise licenses. But what feature AND WHERE must be turned on in order to show the Business Data Web Parts like in the image below. Something ...
3
votes
1answer
1k views

Dynamically display a single row of a custom list

In SharePoint 2010, I have created a custom list and I want to be able to display a single row of this custom list on page. But I do not want to create a separate page for each row. I would like to ...
0
votes
2answers
439 views

Insert web part with H2 title instead of H3

We're inserting web parts into a publishing page and noticing that SharePoint wraps their title in H3 tags by default. Is there a way to control this? We need it to insert the title as H2, at least in ...
3
votes
1answer
82 views

Webpart error is shown when a user does not have permission to see it

I am facing a strange Webpart error. Users not having permissions to view a list should be unable to see the web part at all, instead they see a web part with a permission error. Is there a way to ...
1
vote
1answer
2k views

What date picker controls are available to enter a date range inside a custom web part?

I have a custom web part that executes a SharePoint search query and displays the results. I'd like to add controls to the web part so that users can select a date range (ie. start date and end date) ...
0
votes
1answer
166 views

Error when publishing page that has a custom user control on it

I have a custom user control which is a "subscribe form". The user enters name, email etc and selects values from dropdowns I data bind from lists. I can view the page no problem and use the form but ...
2
votes
2answers
1k views

Remove check boxes and headings from List Web Part

I have created list. I want to include this on another page so I use the corresponding list web part. I do not want the heading row and the individual check boxes to appear. I have tried which works ...
2
votes
3answers
5k 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? ...
10
votes
1answer
3k views

Implement Interface in custom “Connected Web Part” to provide “Filter Values”

Question 1.1 What interface do I need to implement into my custom web part, to make it a provider for "filter values" for a normal XsltListViewWebPart? Answer - IWebPartParameters "XSLT List ...
1
vote
1answer
1k views

SharePoint web part to show business card

In our portal envirionment, there are a lot of users that would like to display some personal information on a lot of webpages like contact info. Ofcourse these people could type all this info down ...
6
votes
3answers
1k views

.Webs and anonymous access?

We're developing a public facing SharePoint site so it have anonymous access. To be able to run custom web parts that access lists/libraries we need to run with elevated privileges which works fine, ...
5
votes
1answer
306 views

Bulk Sharepoint Webpart Modification

Is there a way to go in and edit a set of webparts in bulk, instead of one by one? We've got a site with roughly 75 pages with an average of 3 webparts per page. Each of those webparts have a section ...
3
votes
4answers
5k views

SharePoint 2010 List Rotator Web Part

Ok, so I would normally take the time to write this, but don't have said time to do it at the moment. I need a web part for SharePoint 2010 that does something very simple: display list items from a ...
4
votes
1answer
474 views

How to customize a ListView Webpart from code

I have a repository of files... I'd like to create a ListView Webpart wich receives the path in the tree and show the files in the document library... It's possible to do this by code? Is there any ...
0
votes
1answer
77 views

Web parts that react to displayed content

So, imagine I have a wiki library. That library has had columns added to contain other interesting information, e.g. lookups to related items in the same list or lookups to parent lists. How would I ...
2
votes
1answer
95 views

Choosing the most appropriate solution

I hope you guys can help as I'm new to Sharepoint development and it appears to have a million and one ways to achieve any goal! I need to provide our staff a place on the intranet to enter product ...
1
vote
1answer
167 views

Error “404 Not Found” when tags (on tag cloud web part) are clicked [duplicate]

Possible Duplicate: Error 404 when Tags are clicked How to make link on tag cloud web part works? I am getting error “404 Not Found” when I click tag link on tag cloud web part, I have ...
1
vote
2answers
2k views

How do I deploy custom web part to Sharepoint Online Site Collection?

After uploading the wsp to the site collection using the browser and activating it, everything seems to work fine and i see all the page layouts, masterpage, content types, lists and webparts. BUT, ...
5
votes
2answers
971 views

Tool for Site Admins to manage their own Active Directory security groups?

We are deploying a new SharePoint 2010 environment. All access is controlled via Active Directory security groups (placed inside existing SharePoint groups). Due to this, we are looking for a tool ...
6
votes
1answer
1k views

Get and remove all currently displayed notifications from SP.UI.Notify

I am sending a variety of notifications via SP.UI.Notify.addNotification("blah", true); setting the "sticky bit" to true so that the notification stays visible. When I display a second ...
5
votes
2answers
5k views

How to create .dwp WebPart in Visual Studio 2010?

I need to know how to create a web part with visual studio 2010 and deploy it with a solution package in a feature. When I try to do it by just changing the .webpart file to a .dwp file and change ...