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
317 views

Content Rotator to display latest posts only

I am looking at AnythingSlider and a custom content slider and was wondering if these tools allow me to display most recent content only. For a news rotator I only want to display top five news from a ...
3
votes
3answers
785 views

Profiling tools for Sharepoint 2010 web part .NET code

We are working on a pretty large scale project having large number of custom web parts with substantial amount .NET code working on Sharepoint server object model and the like. The normal profiling ...
1
vote
2answers
611 views

How to get FBA users' profile with ASP.NET

I'm getting Windows users' profiles, in my webpart, doing the following: UserProfileManager pm = new UserProfileManager(SPServiceContext.Current); SPUser spuser = web.AllUsers.GetByID(user.Id); ...
0
votes
1answer
930 views

Set web part custom property when adding to page from code

We have a solution that adds All Assignments Web Part from Sharepoint Learning Kit into a page. Here are code snippets we use to do that: public static string AddWebPartToPage(SPWeb web, string ...
0
votes
2answers
136 views

wss 3.0 Webpart Disappears after couple of days of operation

I have custom wss 3.0 webpart installed in my wss site. This webpart is deployed to many servers. Performance is very positive and stable all across other servers. Recently i have encountered a weird ...
1
vote
1answer
965 views

How to do a (performant) check if postback is caused by my custom webpart?

Here are some background infos for this question: Where to load data in the lifecycle of custom webpart Having a webpart with different controls (buttons, dropdownlist etc.), I want to check, if a ...
1
vote
1answer
330 views

How do grouping data in Chart WebPart?

II have a list with lookup field . I want created a chart with Chart WebPart that grouping data with lookup field and calculate sum a special field . How can I do?
0
votes
1answer
874 views

attachment functionality with the custom webpart in sharepoint 2010

i want to implement a attachment functionality in a custom webpart, which functions that same way as it does in sharepoint OOB,...any suggestions?
7
votes
6answers
6k views

How to programmatically create a chart in SharePoint?

I need to create a chart based on items from a list dynamically in a webpart...
1
vote
1answer
272 views

Item Display Form showing View + Page tab in Ribbon while other pages have only View

I have a list with a display form for which I have specified a different rendering WebPart: DataFormWebPart as opposed to the default ListFormWebPart. This caused some issues with the Ribbon. I ...
1
vote
1answer
352 views

Sharepoint Ribbon for view item form going full option

I have a view item form which contains a custom WebPart for displaying that item. I have no issue with that but the ribbon for the display form looks weird: It contains lots of options that don't ...
0
votes
1answer
1k views

What's in the http://schemas.microsoft.com/WebPart/v2 namespace?

I'm adding some custom forms to a list instance by using the <AllUsersWebPart> element in the list schema. It basically configures a WebPart. My question is, what are all the possible tags I ...
0
votes
2answers
2k views

Handle the event generated by ddwrt:GenFireServerEvent('__name')

I have a custom DataFormWebPart that renders some content based on an XSLT. Inside the XSLT I have a button that does a postback like so: <input type="button" value="..." name="..." ...
1
vote
2answers
716 views

Adding a conditional column broke the entire page

I added a conditional column to a list, it had a complicated algorithm to determine the value. I'm sure I had a syntax error in it, however now I can't even access it. When I try to view the list, I ...
0
votes
1answer
41 views

uploading links to various trade websites using which webpart? What is the easiest way to accomplish this?

My company has a section which wants to upload 'new and relevant' articles to its' SP site. They use 7 very specific sites to gather their information from, which we search with targeted criteria ...
0
votes
1answer
273 views

Sharepoint Toolpart Event Not Firing

I have created a Sharepoint WebPart, and I have given it a custom ToolPart that includes a Grid (a Telerik RadGrid, to be exact, though that is rather irrelevant). I have populated the grid, and ...
3
votes
1answer
1k views

~site / ~siteCollection token replacement with sandboxed solutions

It seems you cannot use the ~site or ~siteCollection tokens in an Element.xml when you deploy as a Sandboxed Solution. Has anyone ever seen this behaviour? Code snippet: ...
1
vote
1answer
418 views

Deploying a DataFormWebPart

I have a page with a DataFormWebPart setup to display some data from a subweb. The page is setup ok, the webpart is working. In my solution, I need to create the subweb (that's already working ok) and ...
0
votes
2answers
330 views

PerformancePoint Services 2010 - Reuse dashboards in external standalone ASP.Net application?

I am a newbie to PerformancePoint Services 2010 & Sharepoint 2010. Assuming we have the necessary licenses, we are wondering what is the best option to include the dashboards developed in PPS/SP ...
0
votes
1answer
3k views

Error occurred in deployment step 'Activate Features': Attempted to perform an unauthorized operation

I Created a web part and add Event Receiver to handle ItemAdded event. When run in visual studio , i get error Error occurred in deployment step 'Activate Features': Attempted to perform an ...
1
vote
1answer
227 views

How to remove System.Web.UI.WebControls.WebParts.Part

I am trying to remove some WebParts from a page in my site collection. Normally I can do this with SPLimitedWebPartManager.DeleteWebPart(webPart) however, that will not delete ...
1
vote
4answers
711 views

How to access a library that is not in same farm. i.e. WebPart is in Farm1 and library is in Farm2

How to access a library that is not in same farm. i.e. WebPart is in Farm1 and library is in Farm2 My company has many farms and now I need to create one WebPart that is going to sit in farm1 but it ...
0
votes
1answer
347 views

I can't find the GlobalNavigation WebPart

I wan't to modify the MySite GlobalNavigation WebPart to customize the title in the top left corner. I can find there is a delegate control in the master page but I can't find this control anywhere... ...
1
vote
1answer
545 views

Querying FAST Search Server for Sharepoint from Search Webparts

I'm new to SharePoint and FAST. In SharePoint 2007 implementation for our projects we used "Esp-Searchapi" for querying the back-end FAST ESP 5.3. As we are now migrating to SharePoint 2010 and FAST ...
2
votes
1answer
146 views

can you recommend a 3rd party Staff Leave/holiday/vaccination management web part or equivalent?

it should allow authenticated users to request time off of work, which when approved by an administrator, shows up in a calendar. Administrators will be able to set vacation allotment for the year, so ...
1
vote
2answers
124 views

Can I develop web part for SP 2007 if on my machine is installed SP 2010?

On my computer, I have installed share point 2010 and visual studio 2010. Is is possible to develop web part for share point 2007 from my machine? I can not create new project in VS for share point ...
1
vote
2answers
290 views

How to add a New User to AD?

I have a list for personel. I want add new user to AD when adding a new item in personel list. I use this code but don't created user private SPUser CreateUser(string strLoginName, string strEMail, ...
1
vote
2answers
474 views

Managing WebParts with dependencies on Web scoped Features

I have a Web scoped Feature which provisions a number of Content Types, List Templates & Instances, Custom Actions etc that enables a discrete set of functionality. I also have a number of ...
16
votes
4answers
30k views

Hide the “Add new Item” option below the sharepoint 2010 list

I have a sharepoint 2010 list, I want to hide the option "add new item" which resides below the list, any suggestions?
1
vote
2answers
2k views

How can I add sections in a Document Library?

I have a Document Library of uploaded documents which are classified in sections and displayed by a WebPart. I wan't to add a new section in this library but I didn't find where I can do that. I must ...
4
votes
3answers
14k views

Show recently modified or uploaded documents

I'd like to display a list of the most recently modified documents across all document libraries in a site in Sharepoint 2010. It seems that the Content Query webpart might do this for me, but the ...
1
vote
1answer
473 views

web.confg httpRuntime changes - wss vs. wse

I'm trying to allow large file uploads from inside a web part, and I'm having some timeout issues. I'm attempting to increase the executionTimeout to deal with this, but I've seen different ...
1
vote
1answer
4k views

“Add Web Part” permissions?

Where/how do I edit/influence the permissions which dictate which Web Parts users see when they choose to add a web part to one of their pages in SharePoint 2010?
4
votes
1answer
640 views

Consumer+provider web part connections: output is asked before input

I created a simple web part that has both a consumer and a provider connection. The provided output depends on the consumed input (so this is a sort of pipeline approach). I managed to implement the ...
3
votes
2answers
2k views

How to refresh the parent page using Server side API when the sharepoint modal dialog close?

I have a Web Part with a grid view and a linkbutton for add item. I use this code for show modal dialog when linkbutton click . ...
1
vote
1answer
3k views

Refresh web part without refreshing page [duplicate]

Possible Duplicate: Refreshing custom developed web part I have a custom web part that displays items from a list. A user can select an item and edit the metadata on it. I want to refresh ...
2
votes
1answer
439 views

Sharepoint Toolpart Values Not Being Retrieved

I am looking to add custom properties to a tool part. I've been able to add the textbox as desired. I've been able to enter values and display it in the webpart. The problem is when I edit the ...
6
votes
5answers
5k views

Refreshing custom developed web part

I've developed a custom web part that pulls data from a list. It will only retrieve items where a field called ShowItem is equal to 'Yes'. Once the data is loaded the end user has the ability to ...
1
vote
1answer
1k views

Workflow column in a webpart on the home page issue

I have build a workflow using SharePoint Designer and attached it to a document library. The workflow itself is working with no problem. In the library, if I add the workflow column to the view, I ...
1
vote
1answer
118 views

Custom web part with deleted list

I have a Web Part which links to a list. I'm not sure if this is the standard, but the developers have hard linked the list to the web part so that this particular list is set as a default of sorts. ...
0
votes
1answer
262 views

Toggling listview web part content source

I'm trying to construct the following user experience. There's a set of links, let's say are in the content editor web part, which control which document library is display below. How would you go ...
6
votes
2answers
14k views

How do I change the background color of a web part?

I've got a document library embedded on the home page of one of my SharePoint sites. Someone changed the background color to grey, overriding the site's theme background color, which is white. I've ...
1
vote
0answers
647 views

Setting calendar control in a web-part as readonly

Is there any way to set calendar control in a web-part as readonly? I have a custom web-part which has a Calender control. In this web-part, I am populating a SPCalendarDataSource object from a view ...
5
votes
1answer
2k views

Toolbar to show the context of a ListViewWebPart

I'm using ListViewWebPart to display contents of SPFolder (subfolder inside a list) to display its contents. Below is the code to implement this: protected override void CreateChildControls() { ...
0
votes
3answers
4k views

What's the best way of removing whitespace from the top of my web part page?

Apologies for the simplicity of this one, I've tried lots of searches online but not found a solution. All I want to do is remove the whitespace above "My page title" so that the title sits at the ...
1
vote
2answers
7k views

How do get selected item of list?

I have a webpart .I add a listviewbyquary in createchildcontrols and a hyperlink in visualwebpart. i use this http://graegert.com/featured/using-the-editorpart-to-create-a-custom-listview-web-part ...
2
votes
0answers
508 views

CustomListView WebPart

I tried create and render CustomListViewWebPart . I tried with the following code. public class CustomListViewWebPart : System.Web.UI.WebControls.WebParts.WebPart { #region Variable Declaration ...
0
votes
1answer
930 views

Error while Populating new webpart to SharePoint gallery

I'm getting this error when I try to populate a webpart, Operation is not valid due to the current state of the object. at System.Web.HttpValueCollection.ThrowIfMaxHttpCollectionKeysExceeded() ...
0
votes
1answer
293 views

Unable to display list items in custom View after adding items to list through code

I have created a custom list in MOSS 2010 that has a column type of Person/Group. I am storing AD username in that column. Also, I have created a view for the list that is filtering data based on the ...
0
votes
2answers
4k views

How to remove “created by” on SharePoint blog post item?

I recently created a blog site and posted few blog posts but then I realized that "created by" column is showing on the item. I tried to check what page layout a post is using but I simple found ...