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)

3
votes
2answers
2k views

How do I use QueryOverride in CQWP when deploying web part instance using Elements.xml?

I need to use the CQWP with more than three filters, hence I'm going to use the QueryOverride with a CAML query like described here. I can't get this to work when deploying the web part instance using ...
2
votes
1answer
954 views

How to Fetch Data from .ICS file in Sharepoint 2010 ?

How to fetch data from iCalendar file in sharepoint 2010 webpart ?
0
votes
1answer
84 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 ...
1
vote
1answer
336 views

Password Recovery webpart in CKS FBA is ignoring the configured email template

I'm using the FBA solution from http://cks.codeplex.com/SourceControl/changeset/view/94877#85179. The issue I'm facing is that though FBA and the webparts seems to be working correctly, the password ...
1
vote
2answers
3k views

Sharepoint 2010 - List Pagination Settings

I've been Googling my rear off and I think the issue is that the search terms are just too broad for what I'm asking. My users are complaining that the default pagination method (lists, libraries, ...
6
votes
4answers
26k views

How Can I Use the SharePoint People Picker Control in my Custom Web Part?

I need to add a people picker control to my custom web part. SharePoint has an OOB people picker control (which provides suggestions while typing into the control). Is there a way to use the OOB ...
1
vote
1answer
854 views

Display 0 rows in list view webpart if there is no filter set?

I am trying to setup a custom page that uses the document library "A" in multiple webparts to show only certain columns based on a "trickle-down" connection system. (please note ALL list view ...
2
votes
0answers
404 views

Custom filter provider web part and multiple values

I'm trying to build a custom filter provider that can detect the user language (the language selected in SharePoint by the user) and provide it as a filter. As a language can be represented in many ...
0
votes
2answers
190 views

Sharepoint URL strange behavior

i have 2 SP 2010 enviroments (Dev and prd)... in a certain webpart i get the value of "param1" in the query string, like: string param1String = Request.QueryString["param1"] if i pass this url: ...
0
votes
1answer
115 views

Web Part Page to select from list and display edit form

Using MOSS 2007, I'm trying to create a web part page that displays a filtered list of records on one column, and a connected single record edit view on another. I'd like to be able to select a radial ...
0
votes
1answer
23 views

Local setup Vs live setup when developing web parts

I'm developing lots of web parts and of course i'm doing this all locally then uploading to the live online SP2010. I'm needing to write a lot of extra code to accommodate the file paths of images ...
0
votes
2answers
138 views

List created on solution activated

I have developed a web part which relies on a list to work so I've created a feature which creates the list with all the necessary columns etc. When i delpoy to local everything works as it should, ...
0
votes
1answer
815 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
351 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
2answers
280 views

Opening a custom webpart created in 2005 in visual studio 2010

We are migrating moss 2007 site to SharePoint 2010. I am faced with a challenge with manual migrating a custom webpart from Moss 2007 to SharePoint 2010. When i open the webpart created in visual ...
1
vote
1answer
558 views

sharepoint 2010 - dynamically load web part (in web part zone) using jquery/ajax from link/button

i would like to have a link, when clicked loads a web part (for example list view web part) that retains its user config. therefore it needs to be a in a web part zone, personalizable and retain its ...
0
votes
1answer
31 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, ...
2
votes
4answers
3k views

Sync Google Calendar with sharepoint Calendar

How to synchronize Google calender with SharePoint 2010 calender ?
0
votes
1answer
505 views

SharePoint Silverlight Document Viewer Webpart?

SharePoint Silverlight Word Document Viewer Webpart? Please help me as I need it in my project urgently. Thanks
1
vote
1answer
2k views

Use a querystring parameter in a CAML Query

I want to pass a parameter between two separate web parts I am developing. In my 'Detail' webpart i need to build a CAML query to display the correct profile based on their name. pdquery.Query = ...
1
vote
1answer
118 views

Create a WebPart that floats in text

I want to create a webPart that "floats" in text. Basically I want to duplicate "Reusable Content". Is there a way to have the webPart render as span and without chrome?
1
vote
0answers
24 views

Displaying Children from a Connected List in a Parent List

I have 3 Lists, Site, Product and Module, which are all displayed as List WebParts on a Page. I only want to show the Site List, which needs to show the Product and it's Modules. I have connected ...
0
votes
1answer
892 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: ...
1
vote
2answers
3k views

Sandboxed code execution request failed error

I have developed a webpart, deployed to local tested successfully. I've then added the WSP to my live environment (SP 2010 Online) but when I try to add in my webpart to a page i get the following pop ...
0
votes
1answer
2k views

Where to Place XML File to be Read by Web Part?

In another question, I finally found a way to deploy the XML file to be read via a Feature, to the _layouts folder: Feature Elements File Should I be deploying it there at all? I wasn't able to ...
2
votes
2answers
491 views

Checklist with Icons

I have a SharePoint 2010 BI Requirement. I have a custom checklist with over 100 columns. Each item (column) in the list has a status of either complete or incomplete. The default value is ...
1
vote
1answer
63 views

Sharepoint Web Parts - Add new setting to ALL

I'm working on a Sharepoint 2010 project where I'm required to offer functionality for the end user to change the styles of web parts on an individual basis. How would I go about adding a new ...
1
vote
1answer
240 views

“Find Similar results” Fast search for sharepoint 2010

I trying to implement "find similar results" in fast search for sharepoint 2010. Im using the docvector manage property and similarTo property(KeywordQuery property) for this. I hv to pass the ...
1
vote
3answers
9k views

Display a List View dynamically in sharepoint custom web part

I want to have an interface where in there are few buttons and on click of every button i want to display a Custom List View. Firstly is it possible to programmatically display a list view in a ...
0
votes
2answers
489 views

Reference InfoPath field in edit.aspx InfoPath web part

I have a colleague I'm trying to help. He has a list on a SharePoint site. He modified said list's web part with InfoPath. Upon creating a new item, the item is saved as well as emailed to a 3rd party ...
0
votes
1answer
183 views

EditorPart with default “…”-button for editing textfield

I have made a Custom WebPart, with some Custom EditorParts in it. My Custom EditorPart consists of a simple TextBox and a Validator. My only problem is that I'd like my TextBox to have that "..." ...
0
votes
1answer
1k 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
450 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 ...
1
vote
1answer
46 views

Convert Page to PersonalWebPartPage

I've a strange question for you. I have to fix bugs in the another's code (webpart for sharepoint 2010). So in the code there is a line with the code below: var s = ...
0
votes
1answer
108 views

Is it possible to hide links in a links webpart based on a group?

Is it possible to hide links in a links webpart based on a group? I am trying to filter a list based on the user login permissions.
1
vote
1answer
770 views

Web Part Data into Sharepoint LIst

I have a custom web part which have lot of fields that will be filed out by user and on submit is there a way that i can populate these values into a SharePoint list .I don't want to use info path as ...
1
vote
1answer
599 views

Web Part Feature

I'm working on a (non-visual) Web Part and wish to read from an xml file placed in the "C:\inetpub\wwwroot\wss\VirtualDirectories\80\wpresources" folder: Code-Behind: string sUri = ...
0
votes
1answer
212 views

How can I return user-values as a SPUser (Hyperlink) in a visual webpart in C#?

I'm developing a visual webpart (TreeView). If I click on a node (folder), it gives me the credentials of the folder. Now, the values are all appearing in a label. How can I return the users and ...
1
vote
0answers
162 views

ArcGIS - Connecting map to WebPart using WMS [closed]

I have added ArcGIS webpart to my SharePoint 2010 environment, I am trying to connect a map to the webpart via WMS. The link works on ArcGIS online, but will not work in the webpart. The map URL is: ...
1
vote
4answers
2k views

Create additional goal indicators on a KPI list

My requirement: SharePoint 2007. I would like to present a "dashboard" view, that displays line-items for particular metrics, each with an indicator displaying a summary score for that metric. The ...
1
vote
1answer
121 views

How to tell the difference between Edit Mode and Personalized Edit Mode

I have a page where I need to pick a list to store information. This is either a global list for all users, or a personal list for the specific user. The current practice is to detect edit vs browse ...
0
votes
2answers
126 views

Need help with jquery swapping image in Sharepoint webpart

Can anybody help me with jquery code please. I need to swap this broken image in the webpart which was hardcoded please. I need to change image in the html below. <div class="CommentsClickto"> ...
0
votes
0answers
603 views

Bind parameters to my custom reportviewerwebpart and refresh it

I'll try to explain my problem in the easiest way I can, since even for me it is difficult to understand. I've created a custom web part in which I have two columns: a datalist and a few buttons on ...
0
votes
3answers
4k views

create a web part to show members of a group

I am trying to create a web part which shows a list of all members of a specific sharepoint group. One of the columns of the list must be SPFieldType.User. Do I need to create a SPList? When do I need ...
1
vote
1answer
2k views

RSS Viewer web-part for sub-site says “feed could not be displayed”

On my-site's home page I've added 2 RSS Viewer web parts. One feed is from a sub-site of this one while the second is to an external site. The internal feed doesn't work, and the external feed does. ...
0
votes
1answer
366 views

Unable to Display this Web Part when making BDC call

I've followed along with this Microsoft tutorial. I can step through my code and see results returned from the database, so my Linq queries are working. However, when I try to set up the web part, I ...
1
vote
0answers
97 views

Modify CoreResultsWebPart XML data before it is transformed?

I'm extending CoreResultsWebPart. Do I have an opportunity to modify the search results XML before it is transformed (against the XSL)?
0
votes
1answer
587 views

hide or remove title field from web part

Programmatically I created a list which is type of GenericList. in the onet.xml file of my Web template I added following <View List="Lists/MyList" BaseViewID="1" WebPartZoneID="Left" ...
3
votes
4answers
7k views

HTTP/1.1 200 OK Server: Microsoft-IIS/7.5 , Connection: close

I am getting this error in sharepoint 2010 portal after i restore the site collection for my portal from SharePoint 2010 management shell. The problem is the restoring process does not complete and i ...
0
votes
2answers
770 views

How to achieve user registration form in sharepoint 2010

Today I attend for an interview. There they asked one question like, I want to achieve user registration form for job portal. How we can achieve in sharepoint 2010? I said that create a webparts and ...