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
0answers
90 views

Accessing sharepoint web part properties from an inherited class

I wonder if someone could help me understand whats going on here. I have a web part with various web part properties. I have a class that inherits the web part class so that I can access my web part ...
0
votes
1answer
256 views

sharepoint 2010 FieldRenderingControl edit mode empty values

I have a list and it has a content type called employee, i would like to render a particular column from the list and its values in a webpart. The column is a multivalue checkbox. It has some values ...
0
votes
1answer
105 views

What should be the Content Search Web Part max per page?

I'm currently working on a department site prototype for an Intranet, which is to be packaged up and used to spawn around a dozen sites using the same Web Template. While trying to convert the ...
0
votes
1answer
704 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
293 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 ...
1
vote
2answers
3k views

How to hide “add new document” link in web part?

I am using several document library web parts and I want to hide the "Add new document" link on those web parts. How can this be done?
0
votes
1answer
144 views

How to enable scrolling in Custom Query Web Part as well as library web parts?

I am using several custom query web parts in the front page of the SharePoint site to show data from a sub-site. They are document libraries and blog posts. How can I enable paging or scrolling for ...
1
vote
2answers
3k 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 ...
1
vote
1answer
1k views

web part jquery ui dialog not working

I am working on SP2010 with visual web part in C#. I have added one form dialog using jquery-ui. When I use it directly from .ascx, its working. But when I am calling it from code behind, its not ...
0
votes
3answers
1k views

Putting User Control in Web Part

I'm pretty new to SharePoint but am trying to get the hang of it. What I have been doing is creating ASP.NET web application pages and then deploying those to the SharePoint site. This works and is ...
4
votes
3answers
2k views

Managed metadata refiners are not appearing

I have a site collection with many document libraries and document sets. I have created a managed property for each crawled property that I needed in the refiner, 4 out of 5 fields are managed ...
0
votes
1answer
452 views

file downloading in sharepoint

I've created a web-part. I've added few documents to it. I'm implementing download functionality. I want file download dialog. My code is like this. DownloadItem(SPListItem item) { // Get physical ...
0
votes
1answer
95 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 ...
1
vote
0answers
88 views

Remove ECB from XsltListViewWebPart

I have created XsltListViewWebPart programatically. I want to remove ecb on list items, I know this can be done by changing xsl of the webpart but I am getting null in it. Is there any way to do this? ...
0
votes
1answer
237 views

Within SharePoint how do we send data to login page rather than clicking on a sign-in button from previous page?

For public facing sites in SharePoint 2010, there is a sign-in button that you click, which leads to the sign-in page. Then on the sign-in page you can enter your credentials to sign-in. Is there a ...
1
vote
2answers
402 views

Error Rendering Control: Object reference not set to an instance of an object

I am exploring on trying to create a custom webpart and I am encountering this error: In my source, I have a table in which a cell will contain SharePoint:DateTimeControl. However it will ...
3
votes
1answer
1k views

How to set start and end date in Timeline webpart in SharePoint 2013?

So here is the scenario. I want to "hijack" the Timeline webpart used for project sites in SP2013 and set a fixed start and end date. There is an option to lock the timeline in it's current state in ...
0
votes
2answers
996 views

Autocomplete Textbox from Active Directory Users

Im making a webpart where a user should be able to add other users from active directory, without being able to know their full name etc. The field should be autocompleted in some way (like googles ...
1
vote
1answer
61 views

Web Chart Axises or Reporting Solution

I have a library of items I would like to report on dynamically. For the sake of this exercise, I would like to show 2 items from the list: The region in which the list item exists The status of the ...
0
votes
3answers
297 views

Caching expensive query to use in a Web Part

I have a Web Part that connects to a SQL server and pulls summary data for the current user. (Think "dashboard".) Unfortunately this query is expensive to run so I'd like to cache the results to ...
1
vote
0answers
121 views

How to make a connection with SharePoint's simpleformwebpart?

I am using SharePoint 2010. I primarily work out of SharePoint 2010 Designer, and have some experience with visual studio 2010. I currently have a log-in page that my "Form" members go to, to log ...
0
votes
1answer
275 views

Broken link when adding discussion board to page through listviewwebpart

Background: I have a discussion board in SharePoint where users will dump emails through an Outlook connection. Then they will associate the discussion board post with a particular contact. When ...
0
votes
1answer
793 views

openfiledialog in webpart

How to implement openfile dialog in a webpart ? OpenFileDialog class could not be accessed in webpart. Is there any other way to achieve this ?
1
vote
2answers
149 views

How to pull SharePoint 2010 Reference assemblies for dedicated build server

I am trying to build my SP2010 projects on a clean build server. All of my project's are building fine with one exception. One Visual Web Part project fails with the following error on the build ...
0
votes
0answers
673 views

Best method to show all pages in site collection?

Using Sharepoint 2013 I'd like to show all pages in a site collection in a categorized view on the homepage. Would like to be able to filter on this view as well. Is this possible? I've been working ...
2
votes
2answers
301 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 ...
1
vote
0answers
292 views

“Actions” menu hidden in Report Viewer web part?

The Actions menu which allows for export to excel, pdf and other functions is hidden in all of my report viewer web parts. I did try to browse to the web part galleries to see if I can set it up ...
0
votes
2answers
1k views

how to change sharepoint web parts loading order

Can anyone give me advise on how I can change the loading order of SharePoint web parts. I have a CEWP which shall perform calculations based on a SharePoint list below loaded below. Thanks
0
votes
1answer
293 views

Deploying custom webpart

I've developed a custom CoreResultsWebPart which does some stuff with the search results returned in the Search Center. To test it, I just created a new search site collection and edited the search ...
1
vote
2answers
107 views

URLs in Web parts

I have four zones(Default, Intranet, Internet and Extranet) configured for my web application. Each zone is having different URL. I am developing a web part which needs to display the links to the ...
0
votes
2answers
162 views

Connection among webparts getting lost when editting aspx

I have a little problem. Im creating a custom aspx page to serve as an advanced dashboard for PPS webparts (mainly filters and reports) in SP2010. I didnt mention this in the title since I think that ...
2
votes
1answer
156 views

Alternate Access Mapping breaks web part

I have a web application with two access methods: http://server:22222/ (default zone) http://server.host.com/ (intranet zone) This web application has a single SPSite with a single SPWeb. ...
0
votes
1answer
19 views

how shall I update a webpart on page using SharePoint web services

Which method I can use to hide a webpart on a page using SharePoint web services for sharepoint 2007. Thanks Sophia London
2
votes
2answers
2k 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
557 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
510 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
210 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
33 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
774 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
163 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
323 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
139 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
639 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
271 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) { ...