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)

1
vote
2answers
1k views

How to do a partial postback for a webpart on a SharePoint page

What are best practices for doing a partial postback? Is it okay to use an AJAX Update Panel? I have a number of webparts on a page. I need to do a page refresh, so one webpart on the page gets ...
2
votes
4answers
8k views

How can I filter a calendar (ListViewWebPart) web part?

I've entered a lookup field to a calendar list that corresponds with the values in a list of links. I would like to show only calendar entries on the web part that correspond with the selected link. ...
1
vote
1answer
3k views

Filter a Data Form Web Part in SP2010 using querystring?

I have a Data Form Web Part (DFWP) in SP2010 and need to filter one of the columns ("Department") on a value using the querystring. How do you do this?
2
votes
2answers
3k views

How do I display the current user's computer information?

We are using the Microsoft SharePoint Server 2007 in our company environment. How can I display user's computer information who has logged in to SharePoint? I want to do something like this: ...
0
votes
1answer
52 views

Choosing 'Edit Web Part' is selecting the wrong instance of the web part

I've created a custom web part and I've added three instances of the same web part in a page. If I try to edit the second web part it is opening the tool part for the third web part. In fact whatever ...
0
votes
2answers
703 views

How to temporarily hide a column in a list view

To put this in context, what I need to do to complete work on a custom action is to hide a particular column from users who aren't members of a given group. Given that the custom action is implemented ...
1
vote
3answers
3k views

Create a web part to display filtered list item

I've got a Contact list with info about departments in our organization. The list is at the department level, not person level. It has the following columns: Department Title ["Contact Helpdesk:", ...
2
votes
1answer
779 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 ...
1
vote
2answers
743 views

How can I access a Sharepoint picture library in my custom web part?

I am looking to create a web part that simply selects a random image from a picture library and displays it. What is the accepted method for accessing images in a picture library?
2
votes
2answers
2k views

Any way to open Web Part Properties via a URL?

Normally, we add a web part to the page. To edit the properties, we edit the page and click on "Edit Web Parts". Can we open the Web Part properties page via a query string like we can open the web ...
0
votes
1answer
417 views

How can I load a list in a web part based on a selection from another web part?

I have two lists, one with data about a group of elements, and the other with calendars to be used for creating schedules for these elements. I've set up a page with two list views; one showing the ...
0
votes
4answers
736 views

Getting Title of most recently uploaded document in document library

I have a document library that a user uploads a file to daily. I then have to display the data from the most recently uploaded document (xls) in a web part. I have gotten everything working except ...
1
vote
1answer
401 views

How to create an empty ChartWebPart

In my onet.xml I have a ChartWebPart. When I create a site, my ChartWebPart is filled with random data. Users get confused. How to create an empty ChartWebPart which users can connect to their data? ...
0
votes
1answer
283 views

Save a document library template with pages that has web parts and then create a new library

I have a document library with a few pages and each page has some web parts [webpart are custom web part] But if I create a document library template (with content) and then create a new document ...
1
vote
2answers
174 views

Using Multiple CEWP's on same page only ever displays one

Trying to build a page with multiple graphs. Looking to use Google Code as it is nicer looking than a simple Excel graph set. http://code.google.com/apis/ajax/playground/ The first set of code always ...
1
vote
1answer
1k views

List of WebParts that support Audience Targetting

How do I get a list of WebParts that support Audience Targetting? Is there any documentation? I have a audience created and I can see their memberships after compiling. However, web parts like ...
1
vote
2answers
4k views

How can I apply custom styles/formatting to an out of the box web part?

I have a list of links stored in a Sharepoint List, and have them displayed in the standard list-item-displaying web part. I would like to have this web part formatted (perhaps with CSS) in a custom ...
1
vote
1answer
208 views

Guidelines for rich UI?

Edit : actually, my current task is focused on the refactor of a webpart, but the question is in fact a general question : what are guidelines for "cool" SP UI. /Edit I have to maintain a set of ...
1
vote
2answers
935 views

How do I write a web part that pops up “Hello world” using jQuery?

I want to use jQuery in my SP2010 hello world web part which pops up "Hello world" using jQuery. What do I have to do? I know I can do this with JavaScript, but I want to learn about jQuery in web ...
1
vote
2answers
523 views

How to use the CQWP webpart to provide data to other web parts?

This might be foolish question, but I am new to the SharePoint 2010 environment. I want to fetch data from a SharePoint list using the CQWP web part. I then want to use this web part as the data ...
1
vote
1answer
449 views

Can we use jQuery functions as web part properties?

I want to build a wrapper web part which will have properties. These properties must be consumed by jQuery functions and support its consumer webpart. Can we do this?
1
vote
2answers
429 views

Hide web part that is defined in Site Definition

I am trying to hide or remove a Web Part, a View of a document library, from Webs that have been created using a Site Definition that specifies this View. In ONET.XML, the following is what sets up ...
0
votes
2answers
236 views

Users denied access after solution redeployment

My old solution has been running in my intranet farm for a long time. The solution contains a feature which deploys a webpart. The webpart shows the users of a group, together with information from ...
2
votes
3answers
237 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 ...
3
votes
1answer
520 views

How to remove the OOB appearance category from the web part tool pane (editor part)?

I am working on developing an (ASP.NET) web part for SharePoint 2010. I have a requirement to not to show the Appearance and Layout category which gets displayed by default in the web part tool pane ...
3
votes
1answer
6k views

How can I have a Rich text box in a custom webpart?

In a custom Web part (actually on the home page, but I think it doesn't matter), I want to let the users input some rich content, keeping the Ribbon functionalities; same as the OOB rich text columns. ...
0
votes
1answer
326 views

How to develop the data source webpart in VS 2010?

I want to develop the content datasource webpart, which should fetch the data from SPLists and provide it to other requesting webparts. how to build this content datasource web part ? What i need ...
2
votes
1answer
1k views

Custom Web Part getting instantiated twice on a Page Layout with WebPartID=“00000000-0000-0000-0000-000000000000”

A specific custom web part is being instantiated twice on a certain page layout, even if it’s only declared once on the page layout. Declaration like this: <%@ Register ...
0
votes
1answer
86 views

fetching all the link list type using browse button

I have created a webpart. In webpart property I have put a browse button and using that I have to fetch all the list which are of Links List type. So that I can select a list and save into my web ...
7
votes
5answers
8k views

Sandboxed web part failing with “No available sandboxed code execution server could be found”

I'm deploying a web part as a component of a sandboxed solution from Visual Studio 2010 to Windows 7 SharePoint Foundation Server 2010 on my development box, and I receive the following error when ...
0
votes
1answer
217 views

unable to deployWSPBuilder visual webpart in sharepoint 2010

i have created simple webpart in visual studio 2010 with the WSPBuilder Template (restricted to use this template. can not use the sharepoint tooling). I have added the Visual Webpart type. i found a ...
3
votes
1answer
1k views

Where is the Organization Browser Web Part? [duplicate]

Possible Duplicate: Where is Organization Browser Web Part? SharePoint Server Standard Site Collection features is Activated. Also show up in Web Part gallery. Howerver, only 2 of the ...
1
vote
1answer
187 views

How can I display a web part on a page with BLOB data from SQL Server?

Am looking to design a web part that will display a link for a user to download a PDF file. This is stored as a BLOB in SQL Server. This web part would be connected to another Sharepoint list where ...
0
votes
1answer
181 views

How feature communicate with eachother in wspbuilder project?

Suppose i have multiple features inside my wspbuilder. That includes a list definition, and a webpart. I want to fetch the records / items inside list, into my webpart. how we can do this ? As i ...
10
votes
3answers
4k views

Google Maps v3 on Web Part page

Has anybody been able to implement Google Maps v3 on a Web Part page (SharePoint 2010)? The maps render fine if I display them in a separate .aspx page, but as soon as I try to embed the code in a ...
1
vote
5answers
3k views

Best practices for including jQuery from a web part?

I have a web part that requires jQuery. I'm wondering what the best practices are when it comes to including this. I assume that just adding it to a page that already has it could potentially cause ...
0
votes
1answer
446 views

Using GetChanges in Sharepoint SiteData web service

I am trying to use this code to get changes in a site collection. But i don't know how to get the databaseId. SiteData.SiteData siteData = new SiteData.SiteData(); ...
0
votes
2answers
443 views

What problems do you encounter using a fixed width design in SharePoint and how do you overcome those problems

The reason I'm asking is more related to design. Say a client has asked for a fixed width intranet but wants a webpart/list with tons of columns to be displayed. How do you get around not breaking the ...
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
1answer
83 views

Insert document type in XSLT

I have an XSLT that transforms a picture library and turns it into a jQuery galleria control. I can make it work in a standard html page, but I have the need to put it in a Sharepoint 2007 web-part, ...
1
vote
1answer
2k views

SharePoint 2010 : Visual Webpart - Multiple User Control

SharePoint 2010: Visual Studio 2010 I have requirement : i have one web part and using custom web part property i load 4 different user control. Solution 1 : I created web part and using custom web ...
5
votes
4answers
11k views

Missing export option for SharePoint 2010 webparts

I am trying to export a list view webpart as a .dwp file so I can have a look at the XML. However, the export option is missing. My initial thought was to try something like the following link: ...
1
vote
1answer
113 views

Web part error - (401) Unauthorized

I have a little program that queries a web service, transforms the results using XSLT and displays them in a jQuery control. When I move the code into a web part it and deploy it, however I'm getting ...
4
votes
1answer
8k views

Sharepoint 2010 - Deploy webpart as Feature scope = web

I want to create and deploy a web part as web-scoped feature. In Visual Studio 2010, when I make the feature scope=web, I cannot add the webpart to that feature as I am able to do when scope=site.
0
votes
1answer
845 views

Getting “Error: Access Denied” when Target Audience to Sharepoint Groups for webpart

I am trying to target a webpart to members of SharePoint groups. I'm doing this through the Advanced -> Target Audiences option for the webpart, and no issues seem to arise when actually adding ...
3
votes
1answer
890 views

WSPBuilder in Visual Studio 2010 for solution in Sharepoint 2007

I've installed the WSPBuilder extension for Visual Studio 2010 and I'm looking for a walkthrough of how to create a deployment package for my web-part. Can anyone point me to a good resource? ...
3
votes
1answer
669 views

Possible to add to to the “Additional Column Settings” for a Column in a list?

Is there any way that I can add an additional check box to the "Additional Column Settings" section of a Column in a list? I'm talking about the section pictured below: I don't even know where to ...
0
votes
1answer
4k views

How to use 'Sites in Category' & 'Categories' Webparts in SharePoint 2010

Does anyone have some documentation on how to use 'Sites in Category' & 'Categories' Webparts Thanks -saumil
0
votes
1answer
2k views

Created connectable webparts but the “Connections” menu item is not showing

I am trying to create two web parts (that are not in the same project) that can connect. So far I have created The interface that will be used for communication. It is in it's own Class Library ...
1
vote
1answer
129 views

Paging in an edited Webpart

I have a webpart that I have edited to pull all tasks that are not completed. I got it from Christophe, his task rollup. ...