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
179 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
507 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
251 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
440 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
310 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
129 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
299 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
873 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
169 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
768 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
314 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
325 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
313 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
113 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
172 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
168 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
604 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
4k 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
540 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
2k 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
255 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
196 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
808 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
216 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
80 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
375 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
2k 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
152 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
744 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
296 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
166 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
658 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
3k 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
111 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
443 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 ...
1
vote
2answers
4k 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 ...