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
3answers
2k views

Sync Google Calendar with sharepoint Calendar

How to synchronize Google calender with SharePoint 2010 calender ?
3
votes
5answers
2k views

Visual web part and custom web control - can't register

I have created visual web part and copied custom web control which I'd like to use. My control looks as below: namespace AppsListWebPart { [ToolboxData("<{0}:CustomImageButton ...
2
votes
2answers
246 views

Can we avoid clunky hiding of WebParts?

It's a real drag and performance killer to have to load all the WebParts on a page and then laboriously hide and reveal all the ones relevant to user groups / permission levels. Especially when on the ...
2
votes
1answer
4k views

How to open a form in a modal dialog popup using C#

I have virtually no experience with web development but now I need to create a web part for SharePoint 2010 and I am stuck. The web part is supposed to find all content types derived from folder ...
2
votes
1answer
621 views

How to find the localized name of the Web Part Gallery

I have learned (still a SP-Noob...) that I have to take care of removing webParts that I deployed as part fo a solution myself. Now I have coded something like string file = "MyWebPart.webpart"; ...
2
votes
1answer
1k views

Send e-mail with SMTP (Office 365)

I need to show a popup-window with a basic e-mail layout and send the e-mail after pressing the send button. The popup, I've created and also the webpart within. But when I want to send the e-mail, it ...
2
votes
3answers
2k views

web parts vs user controls

I need to develop a SharePoint solution that has many layout pages, ten sub sites to be exact. Each department wants to have its own slight variation on the three layout pages proposed at the ...
2
votes
2answers
2k views

When to use application pages (aspx) versus web parts?

I'm struggling with this question at the moment... Basically I'm pulling a set of data out of a DB table related to our LOB application, listing it, and then want to click through from this list to ...
1
vote
1answer
97 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
1answer
738 views

Creating and Deploying a Custom Login Page for SharePoint 2010

I want created a custom login page . I use this link for created custom login . But when i build the solution,don't create a folder inside .\Microsoft Shared\web server ...
1
vote
2answers
1k views

Custom properties in XSL

Is it possible to pull the value of a property, from a web part into XSL? I need to build something similar to the standard Summary Link Web Part, but would like to extend the default control with ...
1
vote
3answers
8k views

How to deploy webpart on production (not debugging) server?

I've created a web part, debugging it on a test Sharepoint 2010 install on my local workstation. I'd like to test it on our production server. It seems that I won't be able to use Build --> Deploy to ...
1
vote
1answer
236 views

Is there a way to override default generated properties in a custom web part?

I know how to make custom properties for web parts in SharePoint, but is there a way to override the ones that are already generated? For example I have a Page Viewer embedded within my custom web ...
0
votes
2answers
45 views

How to remove Feature from site?

Someone in my company installed a test feature on a live site. Now I'm trying to clean up this test feature, and am not sure where all to look to get rid of the one feature that I have left. This is ...
0
votes
5answers
4k views

Add a Web Part to a Master Page for only one page in SP2010?

I would like to add a Web Part to part of a Master Page, but only in the case of the home page of the site. Otherwise it is not needed. How can I handle this? (see attached image) Do I have to ...
7
votes
1answer
834 views

Where to load data in the lifecycle of custom webpart

I have a webpart where I access a sharepoint list and render contents of that list. At the moment I'm fetching the data in CreateChildControls(). When a button is clicked the data will be fetched ...
3
votes
1answer
215 views

Porting Web Parts to Office365 (SharePoint 2013 )

I've been in the process of developing a site in SharePoint 2010, which is composed of a set of different Farm deployed Web Parts. I was wondering what the process was for porting them to SharePoint ...
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" ...
3
votes
4answers
19k 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 ...
3
votes
4answers
721 views

Which is Better a UserControl or WebPart?

What are the advantages of user controls over WebParts when dealing with SharePoint? Some I can think of are: familiarity, reusability, and development speed. I am planning to implement them in ...
3
votes
5answers
1k views

Delete a WebPart from Web Part Gallery

I am trying to delete a Web Part from WebPart gallery but I don't see it there. The Web Part is available in the list when I try to add a Web Part in the page. This is the first time I am facing this ...
3
votes
1answer
5k views

How can I have a Rich text box in a custom webpart?

In a custom Web part (actually on the home page, but I think it doesn't matter), I want to let the users input some rich content, keeping the Ribbon functionalities; same as the OOB rich text columns. ...
3
votes
3answers
1k views

Possible to programmatically display a list of all web parts and dynamically render on a page?

Is there anyway to use the object model to display a list of all web parts installed (say in a list box)? If so would it then be possible to render that web part on a page if it were selected?
3
votes
3answers
2k views

Finding the Current User login in a Content Query Web Part?

I have the unique requirement of needing to get the current user's id (domain\logon) for use within a Content Query Web Part. If no documents are retrieved with the CQWP I need to craft a custom url ...
2
votes
1answer
91 views

Org Browser start at a specific user for SP 2013

I have added an Organization browser to a page and was able to have it visible using the below code. What I am wondering, is how I can have the browser begin with a specifc user and not the viewing ...
2
votes
1answer
179 views

How to upgrade a Visual Studio Project from SharePoint 2010 to SharePoint 2013 (VS 2010 to VS 2012) - For WebParts, MasterPage, AppPage, User Controls

We have a SharePoint 2010 project solution which we are trying to uprgade to SharePoint 2013. This includes webparts, application pages, user controls, masterpage, etc. Foll. is the procedure we ...
2
votes
1answer
398 views

Programmatically trigger “New document” action in a document library

I've been asked to check if it is possible to trigger the creation of a new document linked to a content type. Like, to make it simple, you have a webpart, a button, you click it, and it opens the ...
2
votes
1answer
671 views

Sharepoint Foundation 2013 - getting currently logged on user and passing it in url string/page viewer

I am migrating our existing wss 3.0 site to sharepoint Foundation 2013. Everything is complete but this one item. We have a Filemaker DB in house that also has a custom PHP frontend. I have a page ...
2
votes
1answer
1k views

Display names in dropdown in webpart property

I would like to add custom property that offers a list of choices. It is possible to use Enum type. The property will be then rendered as a combobox. public enum Group { GroupA, ...
2
votes
1answer
733 views

Search Box disappears when I save Web Part Settings

I am checking the "display search box" option in my web part properties and clicking "ok" but the search box disappears. When I click "apply" it will show the search box, but it will disappear again ...
2
votes
1answer
1k views

Specifying advanced webpart properties on a view in a custom module?

I'm deploying a web part page from a feature. In the module/file node, I defines a view to a specific list in the site : <Module Name="SitePages" Url="SitePages" ...
2
votes
1answer
3k views

create or get XsltListViewWebPart

What I want to do is just same with what I do when I add a list view web parts into a web page. The difference is that I want to do it programmatically. I know how to import web parts to ...
2
votes
3answers
671 views

Can a web part prevent master page jQuery from executing properly?

I'm including jQuery and a custom .js file into the master page of my SharePoint 2010 site. In the $(document).ready() function, I'm setting a live event handler on an element in the header of the ...
2
votes
4answers
3k views

Is it possible to add webpart zone in sitepages?

I had a SharePoint site where I created a page (not a webpart page). Can I add webpart zone on this page?
2
votes
3answers
4k views

How do you create webpart-specific config files?

How do you create application specific config files for a GAC-deployed webpart in SharePoint 2010? Which one or more of app.config/web.config/supplemental config are appropriate to use for webparts? ...
2
votes
4answers
2k views

Sharepoint SPGridView Data Reneder-SQL

I am tryiny to display a column from SQL Server Databse in Sharepoint Environment. I am using SPGridView for Consistent look and feel. There is stored procedure called "sp_GetMyApplications" which ...
2
votes
2answers
1k views

Users image in my site programatically

How to get the users image in my site programatically? I need to show image of the logged-in user in my webpart.
2
votes
2answers
4k views

UpdatePanel with SharePoint 2010 web part

UPDATE protected override void CreateChildControls() { if (!this._error) { try { base.CreateChildControls(); ...
2
votes
4answers
6k views

Content rotator for SharePoint lists

I'd like to build a content rotator web part for SharePoint 2010 to display list information. I'm working with the ever-popular AnythingSlider. A couple of questions: How would I let the page author ...
2
votes
4answers
6k views

How can I filter a calendar (ListViewWebPart) web part?

I've entered a lookup field to a calendar list that corresponds with the values in a list of links. I would like to show only calendar entries on the web part that correspond with the selected link. ...
2
votes
1answer
622 views

Pass list item metadata to filter for document library

looking for a way to filter a document library based on metadata from an item in a different library. For example I would have two web parts on a page , selecting on in item in library one would ...
2
votes
1answer
380 views

Do connectable webparts need to be in the same project?

I've found two tutorials that I'm looking at: http://msdn.microsoft.com/en-us/library/ms469765.aspx http://mstecharchitect.blogspot.com/2010/04/creating-connectable-web-parts-using.html But both ...
1
vote
1answer
814 views

Call WebMethod from JS in Visual web Part

I have ASP.NET web app that call some WebMethod from javascipt and fills textboxes. This is not all code, just example codesnippet function dataApp(text) { var loc = window.location.href; ...
1
vote
1answer
1k views

Trending #tags webpart not working - SP 2013

We are having a problem with our "Trending #tags" webpart that is not displaying any data. It resides on the MySite host default page, (default.aspx). From my understanding #tags which are mentioned ...
1
vote
2answers
78 views

How to find where a web part has been placed

I have a task where I need to locate every page that has a particular web part on it. It looks like I may be able to get this info from the database itself but I'm not sure how thorough this may be. ...
1
vote
1answer
6k views

How to add web part in page layout?

Ok I created my first master page and now I am working on page layout. I created a new "Publishing Content Type" page layout in SharePoint Designer whose content type was "Page". In that page I want ...
1
vote
1answer
2k 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 ...
1
vote
1answer
688 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
3answers
5k 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 ...
1
vote
1answer
188 views

default custome webpart became static on custom site page

I have created a custom site page in sharepoint 2010 and added the following code to it <WebPartPages:WebPartZone runat="server" FrameType="TitleBarOnly" ID="Main" Title="loc:Main" > ...