Web parts are ASP.NET controls that can be added to web part zones. They are generally distributed through the deployment of .WSP files. Pre-2013, they could be developed off the hosting server. With 2013, Web Parts for the most part have to be developed on the hosting server for proper library ...

learn more… | top users | synonyms (3)

0
votes
1answer
10k views

Filter by column WebPart in SharePoint 2013

I'm in need of a column filter web part in SharePoint 2013, more specifically said i need the web part to bring content of a list, library or calender based on a column in this list, library or ...
0
votes
0answers
117 views

White space below webparts

I have a web part page and 6 web parts aligned 2x3. However following the web parts there is a lot of white space and I'm not sure how to get rid of it. The grey box in the first picture is all ...
1
vote
1answer
708 views

DateTimeControl hide calendar icon

Is it possible to hide the calendar icon in the control DateTimeControl. I have tried to set Calendar to none, but it still shows the icon.
0
votes
1answer
63 views

Drag emails from OWA Web Part to a Sharepoint list?

Is it possible to drag/send an email from the OWA Webpart in a Sharepoint site to a list or a custom page on the site? i.e. Can the webpart be customized? The business case is the filing of emails ...
0
votes
1answer
147 views

Webparts in zones or page content

I did not realise it was so easy just to add webparts to page content and that they did not have to go into web part zones. Is there any reason to continue using zones for general web parts on a page? ...
1
vote
1answer
767 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 ...
1
vote
0answers
211 views

How to get PublishingRollupImage in a sandbox solution using server OM?

I am trying to get the PublishingRollupImage of a list item using the server object model (requirement) in a sandbox solution. The problem I have is that I can't reference the ...
0
votes
2answers
4k 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 ...
1
vote
2answers
2k views

Creating modal dialog for adding item to list from another page

I'm trying to write web-part for viewing list items. It contains link "add new item". I should create modal dialog for adding item, and it must work from every page. So, I have JS for modal: ...
0
votes
1answer
34 views

Selection of Component - Apps vs WebPart

I am planning to build up a UI which will call a SOAP based Web Services. I am totally new to SharePoint, will a web part or app which one will be best suit for the scenario. I will be using ...
0
votes
1answer
86 views

Enable web part property depending on another property

I know how to add properties to a web part and use these value inside the web part. Can someone tell me how I can add a dependency so that I can only edit a property e.g. when another is checked? ...
0
votes
0answers
282 views

SP 2010 Document Library make a link with image upload

I managed to create a document library with upload image, now i am having hard time to create a web part to put it on the main page. I want it only to show the uploaded image and every time the image ...
0
votes
0answers
177 views

Are there available web parts or solutions for idea management?

We are currently evaluating sharepoint based idea management as an alternative to full-fledged solutions such as Hype software. (as we are just starting to evaluate, please excuse if I am not using ...
0
votes
1answer
317 views

Control View based on Current User Role

I am trying to limit visibility to buttons and ability on a user control based on Role on a SharePoint 2010 Site. I get the user from the following code line SPContext.Current.Web.CurrentUser ...
0
votes
2answers
456 views

Upload a Web part to All Site Collections

We have designed a custom Content editor web part and we exported the dwp file and added it in an site collection (Web part gallery ) and the web part is working fine when we add in any sub site in ...
0
votes
1answer
5k views

Displaying a library on a different site (same collection) in SP2013

On my root site, I have a document Library which contains a lot of important documents. For this Library, on its owning site I can create a webpart which views the folders and items in a nice manner. ...
1
vote
4answers
286 views

Css makes different results depend on the admin accounts and other users

<div class="webpartDivBody" style="margin-bottom:-20px;"> <WebPartPages:ScriptEditorWebPart runat="server" .....></WebPartPages:ScriptEditorWebPart> </div> This code works ...
1
vote
2answers
248 views

How to fetch all list titles in editor part of web part?

I want to fetch all the list titles of the current site in a dropdown in my web part's editor part. Based on this selection I want to show list items in web part when Apply is hit. My web part is ...
1
vote
0answers
222 views

CQWP bind sorting with query string

Is there a way to use PageQueryString in CQWP to control the sort order and sort by behavior? I am trying to implement this kind of sortable and filterable table with pagination: Would it be ...
0
votes
1answer
1k views

Build a visual web part that shows a document library

Ok so I need to build a visual web part (Has to be Server side and done in visual studio c#) that shows a document library. On selection of the document library, the web part must output the entire ...
2
votes
1answer
5k views

How do I set a default, maximum and minimum width and height for a SharePoint web part?

A seemingly simple question, but I haven't found the answer online. I have developed a web part with an adjustable height/width. After adding the web part to my web part page, I open the ...
1
vote
1answer
314 views

Unable to add Web Parts SharePoint 2010

I've been trying to find a scenario as to why, adding web parts in my SharePoint environment is causing the dreaded: "Attempted to use an object that has ceased to exist." exception. All was working ...
2
votes
1answer
629 views

SP2013 - Can you limit the amount of items in a Site Feed?

Is there a way to limit the amount of items that show up on a Site Feed? We are using our Site Feeds as a sort of conversational wall. It seems to default showing 10 items, but I would really like to ...
0
votes
1answer
313 views

SharePoint Designer - wrapping webparts with html

Is it possible in SharePoint Designer 2013 to find the web part templates and wrap identifier div:s around them so I know what they are? For example if I have a library web part and want to make them ...
1
vote
0answers
433 views

What's wrong with the manual refresh web part option?

I have a task list in SharePoint 2013 that I have enabled the AJAX manual refresh button for. This option can be found by editing the list web part, then going to AJAX options and then ticking "Show ...
0
votes
1answer
46 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
514 views

Adding default web part in web part zone

Following is the code in my page layout. <WebPartPages:WebPartZone id="page_detail" runat="server" title="Page Detail" ...
0
votes
1answer
85 views

Custom webpart deleted after editing the page?

I insert a custom webpart in the page, It's working good. But when I click in edit page I find the webpart is deleted! What is going on?
2
votes
2answers
678 views

Make Page Viewer WebPart automatically refresh

Is it possible to make a page viewer webpart automatically refresh or upgrade? I have a report image which I am replacing every 15 minutes with a script but the Page Viewer on SharePoint isn't ...
2
votes
1answer
137 views

How I can start with ASP.NET and Sharepoint 2010 Development? [closed]

I don't know how I can begin with the Development for Sharepoint 2010. I can create ASP.NET Webapplications and begin with ASP.NET MVC 4 Now. I search a good article for the work of ASP.NEt (MVC or ...
1
vote
1answer
65 views

Timer job removing web part after 5 minutes

I have 3 lists on my home page. News Events Alerts I have 2 sites English(Master site) Arabic I have added News, Events and Alerts web parts on English home page. News and Events are ...
2
votes
2answers
6k views

Using SPQuery with SPList.GetItems(SPView)

I have a web-part which displays a variety of items in a spgridview based on a SPView. Additionally, I have implemented a search module which when a keyword is entered should get all items that has a ...
1
vote
2answers
892 views

How to get previous (last) added item id by current logged in user in a list?

How can I get the previously (last) added item id by the current logged in user in a custom list? I created a custom list to get username, IP address, and check-in time. From a web part the user who ...
1
vote
1answer
330 views

After Moving Site from One server to another getting errors with custom webparts

Getting following error message after moving a site from one server to another server using Backup and Restore Commands: Could not load file or assembly 'XXXXXXXXX, Version=1.0.0.0, Culture=neutral, ...
1
vote
1answer
789 views

How can I embed custom raw HTML into a webpart

I am looking to add a codepen (http://codepen.io/) 'pens' into a site in my companies SharePoint. When you create a new 'pen' in codepen, it gives you the option to embed the pen which ultimately ...
0
votes
1answer
32 views

Let members choose their own web parts in an Intranet site Sidebar

I need to setup an Intranet site where site members can personalise & manage the web parts that appear for them in the sidebar (on the master page). For example - one member may choose to have a ...
0
votes
1answer
88 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
3answers
776 views

chart webpart Sharepoint 2010

how to create a custom web part/visual web part that will generate a chart from an existing sharepoint list. Is there any possible way of doing this aside from using the OOB Chart Web Part? We have ...
0
votes
1answer
752 views

How to create a custom chart webpart

I would like to create a custom web part/visual web part that will generate a chart from an existing sharepoint list. Is there any possible way of doing this aside from using the OOB Chart Web Part?
1
vote
1answer
1k views

How do i restore initial blog view if i accidentally deleted it?

I have a created a blog sub site in SP, which have a posts list with preview of each post as shown below (got the image from other site): Initial Blog View However due to my butter fingers, i have ...
0
votes
2answers
58 views

How to make web parts appear on multiple pages?

Is it possible to duplicate a web part across multiple pages without having to recreate the web part? Preferably this would function in a way that an 'include' file functions on a PHP page, where only ...
0
votes
0answers
209 views

Promoted links don't work in a page

I've set up a few promoted links lists and I want to embed them in a page as web parts. They show up just fine when doing this, but the links themselves are unresponsive when trying to use them ...
0
votes
2answers
439 views

Toggling Data View Web Part Paging at Runtime

I'm using partial text filters that push query string parameters to the Data View Web Part. The DVWP is using an XSLT filter that refers to the values supplied by the textboxes. The challenge that I'm ...
1
vote
0answers
75 views

WebPart to dynamically display links to all views within a list or library

I'm trying to develop a WebPart that I can place on the top of a SharePoint 2010 list or library page that will dynamically display links to the views created within the library. I want to also format ...
0
votes
0answers
13 views

Error in dialog for file selection [duplicate]

Since some days I constantly get a webpart error when trying to reference a file on sharepoint. It tells me that the webpart cannot be displayed along with a correlation ID. The error associated ...
1
vote
0answers
278 views

Failed to apply XSLT to the content

I am using "XML Viewer" webpart to display some data from another website. I have applied XSL on it and it works fine on my VM. But when I moved the site to development server, it showed error message ...
0
votes
1answer
36 views

Content Link Web Part

I've created a Content Link web part and want it to automatically update when a linked document is changed. In edit web part, there is a space "To link to a text file, type a URL". I've typed the URL ...
0
votes
1answer
67 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?
2
votes
0answers
82 views

Accessing custom property value of webpart in application page

We have a custom property in a webpart. and we are opening an application page as a popup dialog. In that page we want to access the webpart property. The custom property is as follows: ...
2
votes
4answers
10k views

How to get result from SP.UI.ModalDialog.showModalDialog back to C#?

I have a code on a visual web part user control (see below): Could you please advice, how to get value from the callback function back to the C# in code behind to process it? <script ...