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)

0
votes
1answer
61 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
575 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
143 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
912 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
369 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
816 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
836 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
974 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
4k 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
415 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
508 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
306 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
105 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
652 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
572 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
609 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
111 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
434 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
207 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
74 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
759 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
632 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
590 views

Call Javascript on Sharepoint Calendar add button Click

How to call JavaScript in SharePoint Calendar Add Button Click event ?
1
vote
1answer
426 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
230 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
733 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 ...
4
votes
4answers
6k views

How to change active directory password from webpart?

How to change active directory User Account Password using code?
4
votes
3answers
2k views

Dynamically registering JavaScript from within a sandbox web part

I am mid-way through development of a corporate intranet that will be hosted in SharePoint Online. For this reason, we are restricted to using sandbox solutions. One of the last "gotchas" that I need ...
0
votes
2answers
161 views

What is the best way to display content from multiple sites on the same page?

We are new to SharePoint and have built out a few sites for departments, projects and teams. So far things are going well. Our lists and libraries are staring to grow and become useful. One ...
0
votes
1answer
129 views

Method not found after adding code class to SharePoint Web Part

I'm creating a SharePoint Web Part that displays list items. To display these items I am using an asp:ListView and <%#Eval() %>. I needed to change the output of <%#Eval() %> so I added a ...
1
vote
3answers
956 views

Retrive data using Caml Query Join Operation

How can I retrieve data from two SharePoint List using Join CamlQuery ?
0
votes
1answer
124 views

JS libraries not loaded on page with multiple form webparts?

I'm struggeling with a weird behavior on some of my pages. It occurs both on plain site pages and on web part pages: I have built various form-webparts and exported them. They all are referencing ...
0
votes
1answer
228 views
0
votes
1answer
1k views

In SharePoint 2013, How do I use the person field (people picker) in a custom web part?

Sharepoint 2013 gives a pop up when the cursor is kept on top of a users name ( the pop up allows to connect to email, lync, etc) I need to add that field in my custom webpart... Is there any way ?
1
vote
1answer
50 views

ListView WebPart

Is there any option to display sharepoint list which is in one domian on the sharepoint site which is on other domain? I'm not interested in solution which use iframe.
0
votes
1answer
211 views

Migration of moss 2007 to sharepoint 2010 custom solution

Hi have a visual studio custom webpart solution build in 2005. This solution does not have a .wsp file.when i open the solution in visual studio 2010 and build it - it succeeds but when i try to run ...
1
vote
2answers
2k views

Appending text to an SPFile in document library (creating file if necessary)

Here is the setup. On error i want to write (append) the error message to an SPFile in a document library. If the file doesn't already exist i want to create it. Searching around this is what i ...
2
votes
2answers
1k views

Custom Content Query Web Part in a Sandbox Solution

I am looking to create an "image slider" web part for my SharePoint 2010 site home page to display a nice glossy roll-up of our recent news articles. There are literally hundreds of jQuery plugins ...
0
votes
2answers
148 views

Web Part Error When populating sharepoint list item

I have a people picker field in my custom web part and when the user fills the data and submits it i want this value to be populated in a share point list .following is the code i am using and this is ...
3
votes
3answers
2k views

Can't rename “Title” field in List Definition

I can't rename "Title" field to "Unit Type" Here is my Schema.xml: <?xml version="1.0" encoding="utf-8"?> <List xmlns:ows="Microsoft SharePoint" Title="PrCenter - StatisticsDef" ...