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 proper library inclusion.

learn more… | top users | synonyms (3)

2
votes
2answers
1k views

SPQuery works on libraries under the list view threshold, but not over

So I am building a webpart which enumerates all doclibs in the current web, grabbing all checked out files and listing them in a table, allowing a user to apply some required metadata and check in ...
0
votes
3answers
1k views

custom document library web part with shared documents

I've been struggling a lot to create custom web part that looks similar to "Document library" in share point. I've tried several approaches but finally figured out it. Here's my piece of code: // ...
0
votes
2answers
574 views

Users can't see css on my visual webpart

I'm trying to add some css on my webpart for the first time in SP2010. But for some reason the css only works when you visit the site on the sharepoint server. I belive it's the href path because it ...
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 ...
3
votes
2answers
518 views

Can't hide the Blog Tools web part programmatically on blog site

I have an event receiver that modifies some web parts when a new blog site is created: using (SPLimitedWebPartManager wpManager = ...
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 ...
1
vote
2answers
220 views

can we insert pictures inside a table in SharePoint 2010

I am trying to create a table which has my team members, their tile. I also want to add a picture in one column is this possible in SP2010.
0
votes
1answer
184 views

Appropriate List permissions and read/write using visual webpart

I am learning SharePoint and just learned how to develop Visual Webparts and read data through CAML and write data also. I have a portal where I have one site collection and under that site collection ...
0
votes
1answer
34 views

How to enable menu tool bar in web par?

One of my web parts looks like the following But my other web parts doesn't have a tool bar like the one above. How can I enable that tool bar with New, Upload, Actions and Settings options?
0
votes
3answers
787 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
181 views

Visual WebPart method cannot see object in user control

I've created a user control web part and the code behind file contains the following: using Microsoft.SharePoint; using System; using System.ComponentModel; using System.Web.UI; using ...
1
vote
1answer
79 views

Show link only if folder contains a document

I have created a custom web part that displays information from a list of applications. I have created a sepearte document library that contains a folder for each application. I created a 'View ...
0
votes
2answers
341 views

Web Part showing current user as IUSR

I am using ITACs change password web part to allow users to change their own passwords. It is showing the logged in user as "IUSR" In a web application in classic authentication mode it works ...
0
votes
1answer
1k views

IsDlg=1 is not working for custom list web part item to show in dialog

I have created custom list web part and using that web part in home page. when i click on item its not opening in dialog. I used below code. Can anyone suggest me what is the problem ? SPQuery ...
0
votes
2answers
142 views

Filters get removed from external list when document is deleted from XsltListViewWebPart on same webpage

I have a webpage on Sharepoint 2010 that has: 1) An external list 2) A webpart that has XsltListViewWebPart referring to a document library When a filter is applied to External list, it filters out ...
0
votes
1answer
661 views

Change URL of the Web Part Close-Button

I got a StartSite.aspx. I have some Web Parts on that site (news feed). This web part - Template has a "Close" Button. After closing an object, I navigate to AllItems.aspx Isn't it possible to ...
1
vote
2answers
275 views

webpart.zone = null, why?

I have this code: using (SPLimitedWebPartManager mgr = page.GetLimitedWebPartManager PersonalizationScope.Shared)) { foreach (System.Web.UI.WebControls.WebParts.WebPart wp in mgr.WebParts) { ...
1
vote
0answers
164 views

Comments webpart and anonymous access

I added the "Comments" webpart from the Social web part group to a page on a SharePoint 2010 web site. My site is currently configured with anonymous access so I wanted to confirm if only registered ...
0
votes
2answers
619 views

Can we integrate the office Communicator in Sharepoint

Would you please help me if can we integrate the office communicator in sharepoint 2010 as live chat ?? or any link buttonn to open the office communicator user windows chatting ?? Regards,
2
votes
2answers
2k views

RSS Viewer Customization

Would you please help me in the below two issues: First, How i can open the article feeds in a new tab... When we click on the "More..." Button since it's open on the same tab (How i can add the ...
0
votes
1answer
107 views

About Site URL in Web part

I have some webparts. All of them has a property to enter the Site URL i.e the URL where the deployment should happen. My server farm contains, multiple zones with different URLs. In order to deploy ...
0
votes
1answer
399 views

Why there is Server Connection “Online” While Developing WebParts in VS2012 for SP2013

I am new to SharePoint. And though I am taking my training on CloudShare by creating cloud machine of SharePoint-2013. When ever I am developing any visual WebPart in Visual Studio 2012 there is ...
0
votes
2answers
3k views

Visual Studio WebPart Not Showing Up in SharePoint

I created a simple WebPart in Visual Studio 2010 that I was using to test some functionality for a project. When the WebPart was built and deployed, the messages in the Output box in VS all state ...
0
votes
1answer
211 views

MOSS 2007: Unsafe webparts, file not found, and more fun

One day lately our dev server started acting very strangely. No configuration settings were changed the previous day. Nothing was deployed to the site either. Symptoms: all custom web parts cannot be ...
0
votes
1answer
274 views

Deploying Aspx in specific subsite

I need to deploy an .aspx from visual studio, to a sharepoint subsite. I can deploy it fine in the layout folder. How can i deploy it in a subsite so that it can be added in the quick link section ? ...
0
votes
2answers
130 views

List news webpart required

I want to be able to display multiple stories from a list on my home page, like a gallery. Eash story will have a graphic assoicated with it. the layout would be like a table 4 x 2 or something ...
2
votes
1answer
378 views

“Group by” with XSLT in Search Core Results web part

I have a bit of difficulty making it possible to group by the results in search core results webpart. I have a default xslt of that webpart and from there i would like to group the results by the ...
0
votes
1answer
333 views

Programmatically add new fetched properties to webpart

I have a webpart which I extend and i would like to programmatically add extra fetched properties to those that already exist, but I cannot succeed in that, maybe you could be of help to me. So here ...
0
votes
2answers
4k views

OOB Search core result webpart

This might be very simple, but since I am new to Sharepoint, I could not find enough information that helped me to understand how to implement OOB Search core result webpart. What I understand is, ...
0
votes
1answer
2k views

Search and display Sharepoint list through a web part

In our company we are beginning to create a knowledge base site for users to easily access information such as Client IDs. My goal is to use the search box web part to search for either a client or ...
3
votes
2answers
3k views

SharePoint javascript refresh page is reloading the whole page

In a webpart, I added a button that should trigger a modal dialog, and display a message when the dialog is closed. The dialog script is handled by this code : function OpenGenericForm(formUrl, ...
0
votes
1answer
342 views

Custom columns (IFRAME), web parts and connections

We have created a number of custom columns for our client. Some of them display content using an iframe to an .ASPX page (so that some code-behind can be executed). I was recently tasked to create a ...
0
votes
2answers
706 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
0answers
468 views

Why am I getting this error? “Incompatible Web Part markup detected. Use *.dwp Web Part XML instead of *.webpart Web Part XML.”

I created a WebPart in Visual Studio 2010 and made the necessary changes to make it work in MOSS 2007. The webpart was working just fine, but I had to remove a couple webparts from the project, so I ...
1
vote
1answer
639 views

Custom table of contents webpart

Say I have a page that is really long, with marked Headers 1,2,3, etc. Would it be possible to create a webpart that will auto-generate the table of contents, based on the marked headers and put it in ...
0
votes
1answer
289 views

Calendar Web Part -> not showing the items in underlying list

Yesterday I bought a web part from VirtoSoftware (http://www.virtosoftware.com/sharepoint-calendar). This uses javascript to show list items in any SharePoint list as calendar items in a web part. I ...
7
votes
2answers
17k 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() { ...
0
votes
0answers
44 views

2010 - Email a selection from a datasheet

Environment: 2010 Enterprise One of our sites has several lists created from uploading spreadsheets and viewing them in a datasheet view. Some users have been asking if there's a way to easily select ...
3
votes
1answer
3k views

How to add Client Web Parts (App Parts) to a page from JavaScript CSOM?

We're working on a custom way of adding and deleting Web Parts and App Parts to a page in SharePoint 2013. We have to use the new App way of developing and all code has to be using the JavaScript ...
0
votes
1answer
77 views

Does Sharepoint 2010 search webpart support danish character?

I am using search webpart (SP 2010). This webpart displayes title and other information. My title contains some danish character, but when I enter Ø or Å i get ? .
2
votes
2answers
220 views

Cannot find pages that have instances of missing webpart

I am trying to fix some missing server side dependencies on an SP2010 farm and am having trouble with missing webparts. There are two problems specifically. 1) Of the pages I can find (two pages ...
1
vote
1answer
277 views

How do i create a static text filter on a list webpart

I would like to use a constant as a text filter on a SharePoint list webpart. I can add a text filter and use it to filter the list successfully, but I don't want a control and I never want to change ...
1
vote
1answer
56 views

SPGridView problems

Can someone tell me how to use SPGridView plzzz, I want to know how it works, Do I neeed to create a data table first then add it to table or create table first then add table to SPGridView. I need ...
0
votes
1answer
90 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
80 views

Open form in webpart from a list in another webpart

I have on one page, two webparts. The top part is the list of submitted forms created from infopath, while the second part is the actual form in the window. What I would like to do is when I submit a ...
1
vote
0answers
264 views

Change month in SharePoint MonthlyCalendarView control

How to change month in SharePoint MonthlyCalendarView Control? It seems, there is no way to change month in calendar or change view of calendar.
0
votes
2answers
451 views

Changing a web part assembly name

I have recently decided that the assembly name for my solution needs to be changed. The issue is that this solution has tons of web parts active in all different site collections and none will work if ...
1
vote
1answer
761 views

Validating custom webpart property set by a custom toolpart?

I'm building a custom web part with a custom toolpart to edit its custom properties. I'm wondering where should I valide the values. I can see two places where I can validate. Either in the ...
1
vote
1answer
2k views

Summary Links Web part

Got about 60 links to add to a custom sharepoint, and I am going to use a summary link web part with an 'accordion style' like Stefan Bauer created. Adding a few are not a problem - but this is 60 ...
2
votes
0answers
115 views

Can I access excel file from a remote sharepoint server in my Excel Web Access web part?

We are developing an organization level dashboard in which we are using Excel Web Access web part to display part of or entire excel workbooks containing charts. Problem is, the corresponding actual ...