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
2answers
688 views

PeoplePicker Sharepoint Field Resize

I am editing the look and feel of my Sharepoint NewItem.aspx Form using HTML, CSS and JavaScript. But im having a problem on how to resize my people picker Sharepoint:Formfield. I used css and even ...
0
votes
1answer
79 views

Allow multiple people to work on different web parts at the same time

I've scoured the internet and tried asking different questions but still can't come up with a nice solution to this problem. Consider a situation where I have 2 web parts, each of which is being ...
0
votes
3answers
828 views

create_DialogOptions is not a function

I have a Custom Tool part on my web part that handles properties. It has a link that when clicked shows up a modal dialog but I'm getting this error: TypeError: SP.UI.$create_DialogOptions is not a ...
0
votes
1answer
355 views

Web part instances on Pre Render

I've developed a custom web part. With custom properties it loads an iframe along with other text. Then i tried to add this web part twice on the same page everything works fine except the "preview" ...
0
votes
2answers
1k views

Showing user image from active directory on some page

I have a page on which I want to show pictures of some users. The picture needs to be read from Active Directory. The user whose image will be shown is not logged in user but some other users. I ...
0
votes
1answer
633 views

SharePoint Designer 2013- Removal of 'Design View'

I am trying to understand the difference between SharePoint Designer 2010 & SharePoint Designer 2013. Found this blog by Asif Rehmani: Click here for the blog. He has explained the differences ...
0
votes
2answers
3k views

Editing a web part page - Get ServiceActivationException error message

Create a web part page by Site Actions > More Options > Filter by Page > Click Web part page > then Create Enter a name add to Pages Document Library click Ok, Within the page click Add Web Part Add ...
0
votes
1answer
35 views

Except “Modified” none of the fields are being displayed in XSL

I have a site in which there is a library named "Pages". This is the standard library where all pages that you create comes. Using XSL, I am trying to display page links on my home page. Problem is ...
0
votes
1answer
67 views

Adding custom zones for web parts to all subsites

I need to add several custom WebPartZone to all pages on my SP 2010 portal. I supposed that if I changed masterpage by adding WebPartZones to it, it'll be on all pages after I check Reset all subsites ...
0
votes
1answer
56 views

How do I execute code on all WFE servers?

I have some code that needs to execute on all WFE servers - does anyone have suggestions on the best way to make this happen?
0
votes
1answer
324 views

SharePoint 2013 server API - no LimitedWebPartManager?

I have a SharePoint 2013 development environment. The Microsoft.SharePoint.dll assembly does not contain LimitedWebPartManager. I want to use a sandbox solution to provision a page and the web parts ...
0
votes
2answers
2k views

Birthday alert webpart in sharepoint 2013

I am trying to create a birthday alert webpart using the out of the box features of SharePoint 2013. Have anyone tried this?
0
votes
2answers
248 views

How do I add a webpart to all Enterprise Wiki pages?

I've got a quick question here. I want to add a button to all of my Enterprise Wiki pages, the button should lead to that page's edit form. My question is, what is the best way to add 1 webpart to all ...
0
votes
2answers
4k views

SharePoint 2013 - Sorry, apps are turned off. If you know who runs the server, tell them to enable apps [duplicate]

I am new to SharePoint 2013. I have developed an app using vs 2012. When I try to deploy the app, then I am getting the below error. Error : Sorry, apps are turned off. If you know who runs the ...
0
votes
1answer
652 views

Sharepoint Online SPUtility.GetLocalizedString in WebPart

Trying to get localized content working on Sharepoint Online. I followed the steps here: http://msdn.microsoft.com/en-us/library/fp179919.aspx#LocalizingAppWeb to create 2 resource files under ...
0
votes
1answer
37 views

Display custom library in webpart?

I created a library called Training and I want to display that on my page in a web part. How is this achieved?
0
votes
4answers
2k views

Add css class to WebPart placeholder div

I have a simple webpart that all it does is go through a list of items and uses a repeater to display the html. The webpart itself however wraps the generated repeater elements with a div like this: ...
0
votes
1answer
780 views

Programatically adding webparts to a page in sandbox

I've successfully implemented code to add web parts to web part zones in code using WebPartManager's in other projects. Now that I'm working in a sandbox solution, VS can't seem to recognise ...
0
votes
2answers
2k views

How to get SPListItemCollection from a SPFolder?

I am making a SharePoint 2010 visual web part, and I want to recursively iterate through all files in a document library which has nested folders. I can get a SPListItemCollection for all items and ...
0
votes
2answers
333 views

Multiple Webparts with the same Javascript

I have a site with multiple Webparts. Some Webparts are linking on the same .html file. The HTML file reads data from a list and displays it in a table by using javascript. My problem is that there ...
0
votes
1answer
4k views

How to fix “A SharePoint server is not installed on this computer” in sharepoint 2013

Im trying to develop a Visual Web Part using Visual Studio 2010. I have not installed SharePoint 2013 locally on my developer pc, but I have installed it on my Windows 2008 Server. When I try to ...
0
votes
1answer
483 views

How to read custom column of List in web part using Linq

I have a list with column "English Desc". How do I read it in my web part? I can see that in web part, this item has other properties such as item.ID, item.Name, item.Url but this property/column is ...
0
votes
1answer
63 views

Understanding SPMetal and Linq

If I generate .cs file using SPMetal for my site and then use it in Visual Studio to develop web part using Linq. And later on I create a new list in my site, will I need to generate .cs file again?
0
votes
1answer
132 views

How to implement a facebook like feed with comments and likes in SharePoint?

I require a web part in which feeds can be posted and users can comment and like on it.
0
votes
2answers
530 views

Question about webpart properties

I have a webpartpage which in this page I added multiple custom webparts which are the same. I wanted to use the .webpart file to add my own custom property like : value so I can treat each webpart ...
0
votes
1answer
516 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
1answer
272 views

Double value in URL from SPListItemCollection result

I have a basic list which I am using to generate a "Quick Links" menu WebPart. It looks ok but for some reason the URL field (of URL type) when rendered renders html that looks like this: <a ...
0
votes
2answers
2k views

Custom Webpart: Type not found or not registered as safe!

I'm trying to implement this web part concept provided by Microsoft in our SP2013 environment using VS2012. MSDN SPDataQuery Class Example I've created a solution in VS2012 and verified that the ...
0
votes
1answer
90 views

Webpart is not displaying as it is always shows as hidden

I have the following CEO message Web part which has the code as follows. When I edit the web part it is always shows as hidden Ticked even though it is un-ticked and saved. I can see this web part in ...
0
votes
2answers
3k views

SharePoint 2010: Unable to open .mht files in browser. Prompts to save .mht to disk

I have a SharePoint 2010 environment where I am unable to open .mht files in my browser. Every time reference the .mht file using a page viewer web part or a content editor web part (with iframe) I am ...
0
votes
2answers
1k views

Why do my Web Part properties not show up?

I've been developing a custom master page and page layout for SharePoint 2013, using the Design Manager. I've built the html pages and allowed SharePoint to translate them into .master and .aspx ...
0
votes
3answers
701 views

Link to a document of shared document library

My specifications: Windows Server 2003 Visual Studio 2008 Windows Sharepoint Services 3.0 visual studio 2008 extension for Sharepoint services 3.0 I'm creating a web part with a SPGridView. I ...
0
votes
2answers
619 views

Styling individual webparts

I've got a publishing site where webparts need to look different based on which siteType they are in. Got a 3 webpart styles (each style can be applied by simply adding a class to the top level ...
0
votes
1answer
83 views

Is there a way to add web parts to an individual Blog post?

WSS 3.0, standard included Blog template. End user site admin only, no access to server farm etc. What I need to be able to do is add a unique instance of a content editor web part to each blog post. ...
0
votes
2answers
865 views

Feature deactivation and webpart not being removed

I have a question regarding a feature and the webparts. Basically recently i noticed that when i deploy a webpart with my solution and it is bound to a feature on site collection scope, when it is ...
0
votes
2answers
110 views

Cannot pass value betwen two webparts

I got two webpart instances on page. I need to pass data from one webpart to other. Data that i need to pass will be loaded in CreateChildControls. When i am debugging its looks like nothing is ...
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
374 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 ...
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
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 ...
0
votes
1answer
110 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
2answers
256 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 ...
0
votes
3answers
3k 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 ...
0
votes
2answers
694 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 ...
0
votes
3answers
458 views

Render TextBox (sever control) in WebPart and manage (text, visibility etc of) the server controls from editor part

My initial goal is to achieve the following Render dynamic TextBox in custom editor webpart Manage Text (, visibility, height, width etc) of the TextBox from editor part. We can consider ...
0
votes
2answers
143 views

Deployment failure from Visual Studio 2010

Deploying a solution from visual studio 2010 to sharepoint foundation. The first time i deploy i get an error: Error 10 Error occurred in deployment step 'Retract Solution': Feature ...
0
votes
2answers
60 views

Installing webpart

I'm a beginner on Sharepoint and I want to ask if I can install webpart at our subsite. I only have access to our subsite's MOSS. Thanks
0
votes
1answer
2k views

How do I configure styles and layout of a Summary Link Web Part using code?

I have successfully added a Summary Link Web Part as a feature and want to configure the styles and layout of it, including: The default style for new links The group header style The number of ...
0
votes
1answer
266 views

Best way to write Html in a Webpart

What is the best way to write/output html in a webpart? I am coming from PHP, there it was pretty straightforward. I have seen the HtmlTextWriter, but I think that is very odd and makes it even more ...
0
votes
3answers
989 views

What is the difference between CamlQuery and SPQuery

Maybe a simple question, when to use CamlQuery and when to use SPQuery ? I think that SPQuery is used inside a WebPart running on the SharePoint server, and that CamlQuery is part of the Client ...