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)

2
votes
0answers
417 views

How do I combine rows from different sharepoint lists onto 1 overall list?

I'm using Sharepoint 2007 and sharepoint designer, and I am using multiple sharepoint lists that have the same column types (# required, # complete, % complete) that shows the training status for ...
2
votes
1answer
547 views

Custom webpart Personalization properties not saving in Sharepoint 2007

I've inherited a VB.NET / MOSS 2007 Sharepoint application and have been tasked with adding a new custom Webpart. I've declared a number of public properties to store configuration data for the ...
1
vote
3answers
65 views

Whats the best way to create a list when a web part is added?

I have a web part I'm creating that displays links in a metro style fed from a compatible list. I'm pretty new to share point development and was wondering how can I make sure a compatible list is ...
1
vote
1answer
3k views

SPLimitedWebPartManager throwing “File is not checked out” error on AddWebPart and DeleteWebPart

I'm writing a powershell function to add custom webparts (i.e. not Out Of The Box webparts such as ContentEditor) to publishing pages on a SharePoint Server 2010 site. I encountered a frustrating ...
0
votes
1answer
809 views

WebPartAdder_ItemCannotBeAddedULS

I am unable to add a web part to a publishing page. I am seeing the following in the ULS: File 0f4c91df-ccde-48e9-9c80-3612e95fa849 has length 889, but corresponds to ...
0
votes
3answers
1k views

Get deployed .aspx page in feature receiver to add WebPart

I have a SharePoint solution which deploys an aspx page in a custom folder in the Layouts folder. I need to get this page in the Feature Event Receiver so I can add to it a WebPart. In the ...
1
vote
0answers
146 views

Issue with web parts disappearing

First time here and I'm hoping someone can help me. I've searched all over and can't find anything... We have an application running in Central Administration that generates ASPX files to specified ...
1
vote
2answers
722 views

Web service endpoint error for a web part

I'm getting an error from a web part that calls a web service. I think I just need to add the endpoint XML to the web.config. Is there a better way to do this? Can I add the endpoint from Central ...
2
votes
1answer
185 views

How can I fit a Datatable only into a webpart (not page) dynamically?

I develop a Webpart, which should be deployed in other SP-Farms. The Webpart contains a DataTable. I deployed the solution and the DataTable appears in the right side of the Website. I'm using a ...
1
vote
2answers
494 views

Problem with global doc lib webpart

I am trying to create a global webpart that should represent a filecenter. The filecenter is a document library on the root site of my sharepoint portal. I followed this guide here: ...
1
vote
1answer
42 views

Removing webpart from gallery breaks existing pages?

I have one webpart that is breaking some of my pages and I don't want it to be available on the gallery for adding it to a page however I have some pages where I do use the webpart, my question is: If ...
0
votes
0answers
126 views

How to manage “log in with different user ” event of a sharepoint Web Site

Hi I built a Http Module that change Sharepoint MasterPage based on if the user logged in is a Owner/adminstrator. It Works good! But when I try to change the user to test the module, when a click ...
0
votes
1answer
353 views

Change Sharepoint Calendar View from month to day

How to change calendar view from month to day on button click event without ribbon ?
1
vote
2answers
1k views

Displaying some WebPart controls only to some user/groups

I need to hide some elements of a webpart and only show them to some specific grups of users. How can I do this ? I think it could be done with an If or Switch block, using the name of the grup of ...
0
votes
1answer
63 views

Is there a “URL-Structure” for Users and Groups I can access via Hyperlink?

I have a Custom WebPart which gets credentials from the site into a GridView-Table. The result (user and credential) is shown as strings. I want to create a Hyperlink to the users e.g. mysite, instead ...
0
votes
2answers
586 views

Add WebPart to publishing page in Synchronous ItemAdded Event Receiver

I'm trying to add a webpart to a publishing page after the page is created, so I've created an Event Receiver, the problem is, if I make the Event Receiver Synchronous (As it should be) the code ...
1
vote
0answers
144 views

inheriting from WebPart with custom ToolPart

There is a custom web part (let's call it WebPartA) and custom Tool Part for it. We need to inherit from this web part and extend it with two integer properties (WebPartB). And add default controls ...
0
votes
1answer
2k views

Ways of creating a Leave application form in Sharepoint?

I need to create a form as part of the workflow with details and validation by taking some data from leave database such as Leave available and work replacement with other details. So, i need to ...
4
votes
2answers
948 views

Server-Side Rendering in SharePoint 2013 Content Search Web Part Without XSLT?

Background: I am new to SharePoint and I recently attended the SharePoint 2012 conference. It seems the primary way to render content in a custom way is on the client-side via JavaScript in the ...
2
votes
1answer
382 views

Changing Content Editor Programatically - Client model API?

Is it at all possible to make changes to or add a content editor to a page using only the Client Object Model API? There does not appear to be any reference to a ContentEditorWebPart dll.
1
vote
3answers
843 views

How can I debug sharepoint app attaching to IIS?

I built a HTTP Module, insert the DLL into the GAC, changed the webConfig Now , if on visual studio , I Attach to process W3WP , Open the web page where the module must work, I notice that ...
0
votes
2answers
853 views

How to route To different MasterPages in sharepoint?

I 'm trying to create a HttpModule that allows to route to different MasterPage preInt event. I' not an Expert about MasterPages. I'm trying to nderstand about MasterPages Token. I knows there ...
0
votes
2answers
994 views

How to Deploy the Feature with Scope=Site & Scope=Web for WebParts & EventReceiver respectively?

I have only 1 Visual Studio Project. It contains 1 EventReceiver(for DocumentLibrary) and multiple-WebParts. I have defined the Scope=Site of Feature.xml file of Project. I have created 1 custom ...
2
votes
2answers
5k views

How to register a new http module n the web config

I built a http module. I copied into the GAC . Then, I put into the WebConfig file lke this : <httpModules> .... <add name="MyAssembly" type="MyAssembly.Global"/> ...
6
votes
2answers
14k views

Difference between WebPart & Visual Web Part

I'm not sure how Visual Web Part is different from the actual Web Part in SharePoint 2010. Thanks!
0
votes
1answer
65 views

Web Part Date Column Expiry

I have an out--of-the-box Web Part which displays job flyer PDFs. I recently had to re-create a date column but the expiry functionality no longer works. Prior to this a job flyer would no longer ...
0
votes
3answers
422 views

SharePoint Data Control to show Custom Data Source

I am building a custom visual webpart where I want to show all the calendar events across a site using SPSiteDataQuery. I know I can use asp.net repeater or grid view to show the data but I was ...
2
votes
0answers
523 views

Custom aspx page with web part

What would be the best way to have a custom asp.net page which runs on sharepoint and displays a web part? TIA
2
votes
2answers
308 views

how to implement editor zone at a custom webpart in visual studio 2010

I created a webpart in Visual Studio 2010. I have add a button, textbox, label and in my VisualWebPart1UserControl.ascx. When you click on the button the grid will be filled with some data from an ...
1
vote
1answer
108 views

Embedding images files in sandboxed webpart

Fairly new to SharePoint development but have been asked to into developing some simple web part features for a solution we're working on. I need to add some basic image/logo files into the .wsp for ...
5
votes
2answers
2k views

Sharepoint 2010 Webpart Ajax not working

I have a custom webpart within Sharepoint and am trying to apply some ajax to the webpart. The same code works within a .net web application but not within a sharepoint web part. The code from the ...
0
votes
3answers
664 views

Webpart properties getting empty after IIS Reset

I created a custom visual user control webpart property for my SharePoint webpart. The property has a textbox which is getting empty after an IIS reset. Can anyone tell me how to solve this issue ...
2
votes
2answers
2k views

Tutorial for displaying a MessageBox in a WebPart [duplicate]

Possible Duplicate: Couldn’t find any way of displaying a message box in Visual Webpart 2007 (User Control) I have been working on SharePoint 2007 for more then a year but still don't have ...
0
votes
1answer
580 views

Can a .dwp Be Converted to a .wsp Easily?

I have been given the task of converting a .dwp to a .wsp. Is there an easy way to do this in SharePoint 2010? Is there a tool that can do this automatically?
1
vote
1answer
620 views

WebPart Connection : sending table sends only first page data

I have created a custom WebPart to consume connection(table) from a list view webpart, from list view webpart when i send the table to my custom consumer webpart i get all data from the list, but this ...
0
votes
1answer
54 views

Possible solution to a lot of expensive webparts on a single page

I have a question regarding the loading issue of a page. Current situation: I have a page layout in my SharePoint 2007 environment, this page layout defines a lot of web parts we can say up to 40 of ...
0
votes
1answer
116 views

COMException due to WebPart Connection while trying to Filter provider list web part

In SharePoint 2010 I see the following symptoms: We have three lists, looking up to one another in a chain. Sample: Vendors [30] as root; Projects [100], Looking up to Vendor; Deliverables ...
2
votes
1answer
455 views

Declarative WebPart on publishing page

I have made a publishing page layout that has a WebPartZone and a MediaWebPart in the ZoneTemplate. Example below. <WebPartPages:WebPartZone runat="server" Title="Fokusøki Media" ...
0
votes
1answer
211 views

Error when adding web part to sandboxed solution

I get the following error when trying to add a web part to a sandboxed solution in visual studio. It works fine if i add the webpart via sharepoint designer Any ideas anyone? [COMException: An ...
1
vote
0answers
75 views

Hide report builder link on Report Services Report Explorer web part

Is it possible to hide the "Report Builder" link that is displayed in the upper right hand corner of the Report Explorer web part? This is on SharePoint Services 3.0
0
votes
1answer
773 views

Unexpected error on Documen Libraries after enabling document conversion

Configured the Document Conversions services in Central Admin. Enabled document conversion on the "Document" content type from the site collection settings. Now when I try to open ANY document ...
1
vote
1answer
636 views

How to filter a sharepoint list

I have a custom list called expenses. The list has fields such as user,date,amount etc. I want the user to be able to filter this list by amount e.g. add a dropdown above the list with a search ...
0
votes
2answers
1k views

How to add programmatically Sharepoint List Filter Wep Part?

I try to add Sharepoint List Filter Web Part to page. I'm not sure if it is Microsoft.SharePoint.Portal.WebControls.SpListFilterWebPart. How to add it to the page and configure? Update ...
1
vote
1answer
87 views

How to synchronize Google Calender and SharePoint Calender ?

I am using SharePoint 2010 and I wants to create web part that synchronize My Google Calender and SharePoint Calender in both way Google to SharePoint and SharePoint to Google. I need to create a ...
6
votes
1answer
6k views

Programmatically find lists by template ID

I am looking for an efficient way to programmatically find all SharePoint lists with a given template / type in the current site collection from within a sandbox solution. NB: I'm obviously aware ...
0
votes
1answer
115 views

How to get a custom webpart from a site using code?

I have created a custom webpart. I want to get that webpart and add it to my custom application page using code. How can I get it?
0
votes
1answer
603 views

Call Javascript on Sharepoint Calendar add button Click

How to call JavaScript in SharePoint Calendar Add Button Click event ?
1
vote
1answer
440 views

WebPart Does Not show up in Gallery

As a noob taking a training class, I have created a very simple sandbox solution in VS2010 with the VS2010 SP Power tools. The solution has one webpart with one button. It deploys to my site, the ...
0
votes
1answer
233 views

Cant find mediaplayer.js

I am trying to deploy a silverlight webpart solution to my sharepoint foundation site to play videos from assets library and its based on mediaplayer.js but in layouts folder i cant seem to find that ...
2
votes
2answers
750 views

How to Display Beeper/Alert/Popup window like Facebook in my SharePoint site?

I am using SharePoint Foundation. I have created 1 Custom List. And entry added directly into that List using my EventReceiver. And EventReceiver is created on my Document Library, which is called ...