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)

0
votes
1answer
147 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
1answer
288 views

How to use dynamic or relative path in SPList object?

I am using the following code to read a picture library: SPList list = SPContext.Current.Web.GetList("http://win-12/sites/mysite/ImageLibrary") Problem is, in above code "win-12" is my machine name ...
0
votes
1answer
35 views

Custom webpart behaves differently with different environment?

I have a custom solution which retrieves all the list items from the list with 12000 items. I have used splistitemcollection position method to get listitems to retrieve list items. It works fine in ...
-1
votes
1answer
192 views

How to access Literal conrol from Visual Web Part code file

I have added a literal control in my visual web part VisualWebPart1.ascx file as follows: <asp:Literal id="slider"></asp:Literal> I am trying to access it in VisualWebPart1.ascx.cs file ...
0
votes
1answer
73 views

DirectoryNotFoundException when trying to read Picture Library using Linq

I am trying to read a picture library named "ImageLibrary" as follows: SPList list = web.GetList("ImageLibrary"); But I am getting following error: DirectoryNotFoundException How do I read ...
0
votes
1answer
68 views

How to display customized navigation on website?

I have a publishing site with two languages: English Arabic These sites have the following pages: English - Home - About Us Arabic - منزل - حول بنا I want to display navigation on top ...
2
votes
1answer
8k views

How to add web part in page layout?

Ok I created my first master page and now I am working on page layout. I created a new "Publishing Content Type" page layout in SharePoint Designer whose content type was "Page". In that page I want ...
0
votes
3answers
1k views

How to make web parts available to groups or users? [duplicate]

Is there a way to make certain web parts visible to selected users or groups? Thanks in advance Steve
0
votes
1answer
101 views

Adding a DateTime object to a List

I'm quite nice to Sharepoint so pardon my lack of knowledge. In my web part design, I am using this to obtain date and time from the user: <SharePoint:DateTimeControl ID="interviewSlot" ...
2
votes
1answer
53 views

To acces file from Linux server

We have a Scheduled report that generating from Business Object that is hosted in Linux Server.We required to show this report in share point site.Is there any built in webpart for this. How can we ...
1
vote
1answer
445 views

Listbox in webpart has no selection

I'm having a problem that's really blowing my mind right now, because it seems like some basic .net functionality isn't working properly. No doubt I'm missing something really obvious. I could really ...
1
vote
1answer
484 views

How write a code to webpart which change the password to Acrive Directory

I want to write a webpart to change/reset a pasword to Active Directory. How Could I do it ? Where are the user password are situated ?
1
vote
2answers
653 views

Question about webpart properties

How can I access a custom property in my webpart? I have a page that contains webparts, which contains multiple instances of the same custom webpart. I wanted to use the .webpart file to add my own ...
1
vote
2answers
4k views

Report Viewer Web Part Alternatives in SP2013

We have a need to upgrade from SP2010+PWA to SP2013+PWA. Our database server will be SQL Server 2008 R2. According to Technet, the SQL 2008 R2 Reporting Services add-in for SharePoint isn't ...
0
votes
0answers
97 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
265 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
111 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
800 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
309 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
168 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
4k 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
489 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
96 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
93 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
248 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
426 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
2k 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
1k 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
64 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
305 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
128 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
289 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
850 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
167 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
741 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
311 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
319 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
309 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
109 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
166 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
167 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
20 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
594 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 ...