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)

2
votes
1answer
39 views

GroupBy site name inside my CAML query

I wrote the following CAML query to be used inside my Content Query Web part, but i am not sure if i can define to Group the retrieved item by site name :- <property name="QueryOverride" ...
0
votes
0answers
12 views

Why does Webpart disappear on Edit?

When I add a Webpart using browser (Edit->Insert->Webpart) everything works fine, but when I add the same web part programatically, something is off. Webpart is displayed, but when I click Edit, ...
0
votes
0answers
23 views

SharePoint 2013 Recently Changed Items

We have a number of AppParts where our shared documents reside on SharePoint 2013 and I'd like to show the top 20 documents, sheets, presentations and PDFs from all subfolders sorted by modified ...
0
votes
0answers
8 views

Need calendar webpart that uses a REST w-s, not SharePoint list, to display data (can't use BCS)?

The business requirement is to open a SharePoint page, pass my user credentials, curriculum ID, the REST W-S triggers, fetches my "curriculum" data, and displays this "date", "time", "start", "end", ...
1
vote
3answers
8k views

Help with adding a content editor web part to custom page layout in visual studio

I have created some page layouts with web part zones in visual studio and they work fine, however, I don't want to have to manually add web parts in the zones each time a new page is created using ...
2
votes
3answers
970 views

How to set the value of a people group field using JavaScript in the Newform.aspx

I need to set the value of my people/group field with current user on page load. I tried many different things, but nothing worked. Let me know how to do this in SharePoint 2010.
0
votes
0answers
11 views

ARIA Tooltips and Accordions SharePoint 2010

Looking for help!! I am working in SharePoint 2010 where I need to create accessible functionality on tooltips and accordions (they will both sit within web parts). I've tried everything and cannot ...
0
votes
2answers
813 views

Add new Item link missing in Data View (XsltListViewWebPart)

I have created a data view for for my custom list and is rendering in a sitepage. But, I'm missing the "New Item" link above the webpart now. This page contains multiple data filters too. This was ...
2
votes
0answers
27 views

how to get the files from active folder… the folder name is in hte URL - rootfolder

I've a document library and within this document libary I have sub-folders (no subfolders further). There is 1 documentlibary called DocumentACC and this document libary contains Sub-folders as you ...
0
votes
1answer
29 views

Add a webpart Button

I want to add a button with webpart, then to place a script and launch it with the button. But I can't find the possibility to add a button with webpart. Can you help me?
0
votes
1answer
839 views

“Sorry, something went wrong” during execution of custom Web part on 2013

I have a custom webpart in Sp 2013 environment over Amazon. This webpart reads a xml file, loads the contents to the SQL Database and then reads the contents from Database and create discussions in a ...
1
vote
1answer
1k views

SharePoint 2013 - Doc Library WebPart to display subfolders

Usually you put a WebPart for a Document Library on a page, and this WebPart shows the content of a specific library, starting in root. Now I have some subfolders like "Marketing", "Finance" etc and I ...
1
vote
1answer
30 views

I need to add a logo on my Webpart sub-site in sharepoint online

I need to add a logo on my web part sub site. Please see image below. How do I do this? The one on the right is just a place holder but the one on left is live and has link assigned to it.
0
votes
2answers
655 views

CSS Styles in ASCX are not being Rendered

I have a Visual WebPart being used on a self-hosted SharePoint 2013 stack. Problem is that in the WebPart design file, I have a Style tag <style>.. with some definitions for how certain ...
1
vote
1answer
27 views

Web Part Type for Existing Web Part

When you add a web part the default title tells you what type of part it is. However once you change the title, it is not obvious what the web part is. How do you find out what type of web part and ...
10
votes
2answers
25k views

ExecuteOrDelayUntilScriptLoaded not executing after page publish

In SharePoint 2013 I have a page that is using the Script Editor web part. In the script editor web part I have the following: ExecuteOrDelayUntilScriptLoaded(startIt, "sp.js"); function startIt() { ...
1
vote
2answers
3k views

Can I filter a Web Part list using parameters from the URL?

In my rich content area I've inserted a Pages Web Part (to show a list of pages in the subsite). I'm using JS Link to customize the presentation of the list. Can I pass a parameter to the page and ...
0
votes
1answer
636 views

Sys.InvalidOperationException when trying to edit page in sharepoint 2010

I added a webpart through VS2010. It is a Simple webpart containing ajax script manager,timer and update panel. what it does is it shows the current server time in a label. After i deploy it into my ...
1
vote
2answers
52 views

Download all attachments of a list item from grid view

I need to download all attachments of a list item from gridview in a visual webpart. I tried hyperlink but unable to get it. Can anyone tell me how to use anchor tag and use href or any other ...
2
votes
2answers
730 views

Is it possible to pre configure a summary link webpart in a custom page layout with several links?

I created a custom page layout with SharePoint Designer for use as a new default or welcome page in a publishing site. The page layout should contain a summary link web part that is pre configured ...
2
votes
3answers
2k views

List View Web part not showing all available views for list

We have added a list view web part to a page, and we get the Current View link in the web part. Which is configurable when modifying the actual web part. What we'd like to see (instead of having to ...
1
vote
1answer
1k views

The connection point “filter parameter” on does not allow multiple connections

I have a custom web part which does not allow multiple connection. Scenario : I've added the custom web part on the page, added 2 lists on the same page. Step 1 : I connect List 1 to web part and ...
2
votes
1answer
5k views

Webpart added to webpart page using modules is not visible in edit page

I am provisioning a webpart to a webpart page in sandboxed solution. here is the module's element.xml <?xml version="1.0" encoding="utf-8"?> <Elements ...
7
votes
1answer
2k views

Toolbar to show the context of a ListViewWebPart

I'm using ListViewWebPart to display contents of SPFolder (subfolder inside a list) to display its contents. Below is the code to implement this: protected override void CreateChildControls() { ...
0
votes
0answers
12 views

Sharepoint 2010 designer to visual studio web part issues

I added a web part site page to a basic team site. I then added a couple of filter webparts and a list view webpart to the page. I made some connections in designer and then copied all of the designer ...
1
vote
2answers
23 views

Use a powershell script on a webpart component

can you tell me if it's possible to use a powershell script that would be used with a webpart component, as we can do with javascript scripts?
1
vote
1answer
32 views

Populate Custom Web Part Property from List

I have a custom web part (Contact Info) with a property (Topic). The topic is a drop down list (ie behind the scenes its an enum type. What I would like is for the values of this dropdown property to ...
0
votes
1answer
20 views

Deploy Web Part from Visual Studio to remote SharePoint [duplicate]

I've made a Visual Web Part in Visual Studio (non-sandboxed) that I could easily deploy & "debug" on my local SharePoint installation. I want to copy this web part to another SharePoint ...
1
vote
1answer
873 views

List Item won't save if title is entered

I have created a new list and am working on editing the newform.aspx page to customize the form. In the new list, I have renamed the title column to 'Details' because I will be using it as a link to ...
4
votes
1answer
339 views

Default Webparts not rendering in a RichHtmlField on a custom page layout built in Visual Studio

I have a bit of a conundrum.I've built a Visual Studio solution for SharePoint 2010. It comprises of a custom master page and a bunch of page layout templates. I'veAssembled a master pageAssembled a ...
0
votes
0answers
29 views

Overwriting X-UA-Compatible meta using webpart?

I am managing some pages on a Sharepoint 2007 installation and am trying to set instead of IE7 on a single page in order to be able to use more modern styling. I have found this answer on ...
1
vote
2answers
1k 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 ...
2
votes
2answers
979 views

SharePoint 2013 WebPart Timer not ticking

I'm looking for solution to Async reload webpart. In most solutions code looks like below, but code doesn't work. Timer.Tick does't fire: <%@ Assembly Name="$SharePoint.Project.AssemblyFullName$" ...
0
votes
0answers
19 views

Why Sharepoint call resize function on page load?

I have a JavaScript in my WebPart with a resize function, which should only be called, when the window is resizing. But the function will also be called, when i make a refresh. Does anybody know, why ...
4
votes
2answers
2k 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
600 views

Declarative WebPart on publishing page

I have made a publishing page layout that has a WebPartZone and a MediaWebPart in the ZoneTemplate. Example below. <WebPartPages:WebPartZone runat="server" Title="Fokusøki Media" ...
2
votes
5answers
11k 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
3answers
705 views

How to have a mini calendar webpart instead of the default calendar views

I ould like to have a mini calendar webpart that gets that from the calendar list. Something like this sample calendar view Thanks
1
vote
1answer
294 views

Configuring Connection from Sharepoint List Filter Web Part to List View Web Part

For some reason I can't get a selectable connection to pass the filter values to the list view web part. I select the web part to pass the filter values to, but then the Connection Box comes up empty ...
2
votes
1answer
59 views

How to center Picture Slideshow Library Web Part

I have a scenario that I'm pretty new with so I need you guys' understanding. I have a Picture Library called Cool Animals which obviously contains photos of animals. I then created a web part page ...
1
vote
0answers
13 views

InitializeControl does not exist in the current context Office365 (Sandbox solution)

I am attempting to deploy a Visual Web Part (Sandbox Solution) and I am receiving following error: The name 'InitializeControl' does not exist in the current context". I was able to deploy a ...
0
votes
1answer
163 views

Connecting Web part to external Database

I'm trying to connect a web-part running in SharePoint 2007 site to an external Sql Server 2005 database. I get a System.Secutity.SecurityException with "Request Failed" message when I attach debugger ...
6
votes
3answers
6k views

Is there a list of Sharepoint 2007 WebParts, Features and ContentTypes that Sharepoint installs with?

Where I can find a list of all the Web Parts, Features and Content Types that are available to a regular SharePoint installation? What I need to do is identify any of the above in a SharePoint site ...
3
votes
1answer
889 views

RSS Feed Viewer Sharepoint 2010 Webpart stopped working

I have a RSS view webpart in SharePoint 2010 portal, till last day it was working fine. Now it's throwing the error: The requested RSS feed could not be displayed. Please verify the settings and ...
0
votes
0answers
17 views

How to fetch only the third party web parts in sharepoint 2010 pages?

I am need to fetch list of sites/site pages across web application level where only third party amrein web parts are being used? is it possible to get programmatically? I can get information about all ...
0
votes
2answers
725 views

CSS control on table row height

I have a problem with the height of th rows in a table. The table is created by a webpart (a view of a wiki pages library). I found the row height depending on the following class(es): ...
1
vote
1answer
56 views

Display list metadata on list item hover/click on list item

I know what I want to do, but do not know if I am approaching it correctly. I have a custom list with a number of metadata columns. When I or user selects an item from a list I would like for the ...
0
votes
1answer
35 views

Filter list without using SPD

I'm trying to filter a list, something like the OOTB WP, but more flexible. The problem with the webpart is that the user has to input the exact contents of the item he wants to find. I would like the ...
5
votes
1answer
67 views

How to resize webpart content (Excel sheet) without scrollbars in SharePoint 2013?

I have a business data-excel web access web part. I need help for below issue. How to resize webpart content (Excel sheet) without scrollbars in SharePoint 2013? Please assist.
2
votes
1answer
5k views

How to add a custom filter for a chart?

I have a list which contains multiple columns. I have inserted the chart web part and it's showing the graph based on the column list. Now I want to add a custom drop down filter which contains column ...