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

How to display customized navigation on website?

I have a publishing site with two languages: English Arabic These sites have the following pages: English - Home - About Us Arabic - منزل - حول بنا I want to display navigation on top ...
0
votes
1answer
209 views

Proper way to evaluate/get status of boolean field when looping through SP List with code

What is the best way to do this when looping a list? I have tried to evaluate it with something like this but it wont let me evaluate bool as an "if" condition if (item["ShowTitle"] == true) //do ...
0
votes
3answers
291 views

Putting User Control in Web Part

I'm pretty new to SharePoint but am trying to get the hang of it. What I have been doing is creating ASP.NET web application pages and then deploying those to the SharePoint site. This works and is ...
0
votes
1answer
185 views

Within SharePoint how do we send data to login page rather than clicking on a sign-in button from previous page?

For public facing sites in SharePoint 2010, there is a sign-in button that you click, which leads to the sign-in page. Then on the sign-in page you can enter your credentials to sign-in. Is there a ...
0
votes
1answer
318 views

openfiledialog in webpart

How to implement openfile dialog in a webpart ? OpenFileDialog class could not be accessed in webpart. Is there any other way to achieve this ?
0
votes
2answers
590 views

how to change sharepoint web parts loading order

Can anyone give me advise on how I can change the loading order of SharePoint web parts. I have a CEWP which shall perform calculations based on a SharePoint list below loaded below. Thanks
0
votes
1answer
189 views

Deploying custom webpart

I've developed a custom CoreResultsWebPart which does some stuff with the search results returned in the Search Center. To test it, I just created a new search site collection and edited the search ...
0
votes
2answers
69 views

Connection among webparts getting lost when editting aspx

I have a little problem. Im creating a custom aspx page to serve as an advanced dashboard for PPS webparts (mainly filters and reports) in SP2010. I didnt mention this in the title since I think that ...
0
votes
3answers
652 views

custom document library web part with shared documents

I've been struggling a lot to create custom web part that looks similar to "Document library" in share point. I've tried several approaches but finally figured out it. Here's my piece of code: // ...
0
votes
2answers
109 views

Visual WebPart method cannot see object in user control

I've created a user control web part and the code behind file contains the following: using Microsoft.SharePoint; using System; using System.ComponentModel; using System.Web.UI; using ...
0
votes
2answers
95 views

Filters get removed from external list when document is deleted from XsltListViewWebPart on same webpage

I have a webpage on Sharepoint 2010 that has: 1) An external list 2) A webpart that has XsltListViewWebPart referring to a document library When a filter is applied to External list, it filters out ...
0
votes
2answers
321 views

Can we integrate the office Communicator in Sharepoint

Would you please help me if can we integrate the office communicator in sharepoint 2010 as live chat ?? or any link buttonn to open the office communicator user windows chatting ?? Regards,
0
votes
1answer
170 views

Deploying Aspx in specific subsite

I need to deploy an .aspx from visual studio, to a sharepoint subsite. I can deploy it fine in the layout folder. How can i deploy it in a subsite so that it can be added in the quick link section ? ...
0
votes
2answers
122 views

List news webpart required

I want to be able to display multiple stories from a list on my home page, like a gallery. Eash story will have a graphic assoicated with it. the layout would be like a table 4 x 2 or something ...
0
votes
1answer
207 views

Programmatically add new fetched properties to webpart

I have a webpart which I extend and i would like to programmatically add extra fetched properties to those that already exist, but I cannot succeed in that, maybe you could be of help to me. So here ...
0
votes
1answer
260 views

Custom columns (IFRAME), web parts and connections

We have created a number of custom columns for our client. Some of them display content using an iframe to an .ASPX page (so that some code-behind can be executed). I was recently tasked to create a ...
0
votes
1answer
152 views

How do i create a static text filter on a list webpart

I would like to use a constant as a text filter on a SharePoint list webpart. I can add a text filter and use it to filter the list successfully, but I don't want a control and I never want to change ...
0
votes
1answer
45 views

How to hide web part from available web part list?

I have a solution that deploys 2 visual web parts & an EditorPart. I don't wan users to be able to see the EditorPart in the available web parts list. How do I hide/remove that 1 webpart from the ...
0
votes
1answer
40 views

WebPart Properties

I would like to manage my WebPart Properties. I would store an ID -> this id is the id of a configuration for my webpart. First: How can i Store it? Second: How can i Find it? I'm using the ...
0
votes
2answers
127 views

Sharepoint Page is not saving

I created a new webapart and add to a page after adding i was unable to save the page from editing mode but If i remove my webpart and try to save its saving. Not sure what is the error can any one ...
0
votes
1answer
56 views

Using a data binding expression in a css style

This may not be possible but thought i would ask. Creating a Sharepoint webpart. In the ascx file i have a style tag. Is there any way that i could do the following: <style ...
0
votes
1answer
469 views

How to add dynamically dropdown for each item I get from a list?

I am working on a custom editor part (WebParts.EditorPart) where I am reading a list, this list provides me with the links to different websites which are attached to a checkbox, so the user can ...
0
votes
1answer
102 views

SharePoint Chart WebParts: Is there a way to add a timestamp?

I've been working with the chart webparts, and was wondering if there is a way to add a timestamp to them. Thanks so much.
0
votes
1answer
59 views

save and insert custom form as webpart

I have a list, lets call it Potatoes. This list normally offers me NewPotato.aspx, EditPotato.aspx and ViewPotato.aspx. I needed a custom edit form, so I made SubscribePotato.aspx. How can I save ...
0
votes
1answer
161 views

Web part disappears when editing page

I have a custom tab on the MySites profile page, which displays two web parts. they only display however when I'm editing the page - when I click "Stop Editing" they disappear. It is not a javascript ...
0
votes
2answers
1k views

how to hide webpart in Home.aspx based on some condition

I work in a financial company where we have Resident Engineers and they have account in Active Directory but they dont have official email addresses. My portal acrhitecture is like everyonce can ...
0
votes
1answer
249 views

Downloading Via SharePoint 2010

I am creating a Sharepoint2010 webpart page which downloads documents from a webservice (So the documents do not get saved in Sharepoint2010). I have a windows application which does exactly the ...
0
votes
1answer
67 views

Including dependent dlls in web part

I have a C# dll that is a wrapped C++ dll which has multiple dependencies. I have tested the new C# dll in a project and the dll works properly. I now need to use the C# dll in a custom web part. I ...
0
votes
2answers
123 views

Problem with adding TagCloud web part to site definition/onet.xml with userscope

I'm trying to add a Tag cloud web part to my site definition's onet.xml file and set its userscope to everything under the current url. I understood from Microsoft I cannot simply export and import ...
0
votes
1answer
530 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
753 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 ...
0
votes
1answer
913 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 ...
0
votes
2answers
534 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
436 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 ...
0
votes
3answers
449 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 ...
0
votes
1answer
405 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?
0
votes
1answer
469 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
2answers
142 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
105 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 ...
0
votes
1answer
101 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
687 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 ?
0
votes
1answer
125 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 ...
0
votes
2answers
128 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 ...
0
votes
1answer
79 views

Getting resources in a Visual Webpart

I want to get resources that are kept at directory in my visual webpart "User Control" for SharePoint 2007: C:\Program Files\Common Files\Microsoft Shared\web server extensions\12\Resources At the ...
0
votes
1answer
681 views

Sandboxed code execution request failed in Web Part with no Exception thrown

So I'm working on a web part for a client of mine targeting SharePoint Online, and I've run into a brick wall that I've been banging my head against for the last few hours. The web part executes a ...
0
votes
2answers
288 views

Cross Browser Rich Text Editor Control

I may be going crazy over here, but I cannot seem to find a Rich Text/HTML control for SharePoint 2010. I have successfully implemented an InputFormTextBox, but this only shows up in IE. I've tried ...
0
votes
1answer
29 views

Mystery Web Part

I'm currently working on the creation of a custom Web Part which simply displays a message on the home page of a SharePoint 2010 publishing site. When I go to add the deployed Web Part to the page, ...
0
votes
1answer
671 views

Drag-Drop Web Parts

I try to make web parts move independently between columns. I have the drag-drop code with list items and I want to do drag-drop thing with the web parts. Here is an example web site: ...
0
votes
1answer
849 views

Feature Elements File

I'm having some difficulty creating a Feature which contains a Web Part and a links.xml which is processed by the WP code-behind. My difficulty is in understanding the Feature XML config files and ...
0
votes
2answers
306 views

Does web part property validation only work for visual web parts?

Suppose I define a web part property like this: private string _myString = "default value"; [WebBrowsable(true), WebDisplayName("My string"), WebDescription("A simple bit of text to ...