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)

2
votes
1answer
364 views

How to upgrade a Visual Studio Project from SharePoint 2010 to SharePoint 2013 (VS 2010 to VS 2012) - For WebParts, MasterPage, AppPage, User Controls

We have a SharePoint 2010 project solution which we are trying to uprgade to SharePoint 2013. This includes webparts, application pages, user controls, masterpage, etc. Foll. is the procedure we ...
2
votes
1answer
1k views

Programmatically trigger “New document” action in a document library

I've been asked to check if it is possible to trigger the creation of a new document linked to a content type. Like, to make it simple, you have a webpart, a button, you click it, and it opens the ...
2
votes
1answer
1k views

Removing Weekend Days From Calendar

I wish to edit my 2013 Calendar web part and remove Saturday and Sunday from showing if possible so it only shows the work days of the week. Any help would be very much appreciated as i dont know ...
2
votes
2answers
1k views

Sharepoint Foundation 2013 - getting currently logged on user and passing it in url string/page viewer

I am migrating our existing wss 3.0 site to sharepoint Foundation 2013. Everything is complete but this one item. We have a Filemaker DB in house that also has a custom PHP frontend. I have a page ...
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 ...
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 ...
2
votes
1answer
1k views

Specifying advanced webpart properties on a view in a custom module?

I'm deploying a web part page from a feature. In the module/file node, I defines a view to a specific list in the site : <Module Name="SitePages" Url="SitePages" ...
2
votes
1answer
3k views

create or get XsltListViewWebPart

What I want to do is just same with what I do when I add a list view web parts into a web page. The difference is that I want to do it programmatically. I know how to import web parts to ...
2
votes
3answers
734 views

Can a web part prevent master page jQuery from executing properly?

I'm including jQuery and a custom .js file into the master page of my SharePoint 2010 site. In the $(document).ready() function, I'm setting a live event handler on an element in the header of the ...
2
votes
4answers
4k views

Is it possible to add webpart zone in sitepages?

I had a SharePoint site where I created a page (not a webpart page). Can I add webpart zone on this page?
2
votes
3answers
5k views

How do you create webpart-specific config files?

How do you create application specific config files for a GAC-deployed webpart in SharePoint 2010? Which one or more of app.config/web.config/supplemental config are appropriate to use for webparts? ...
2
votes
4answers
2k views

Sharepoint SPGridView Data Reneder-SQL

I am tryiny to display a column from SQL Server Databse in Sharepoint Environment. I am using SPGridView for Consistent look and feel. There is stored procedure called "sp_GetMyApplications" which ...
2
votes
2answers
1k views

Users image in my site programatically

How to get the users image in my site programatically? I need to show image of the logged-in user in my webpart.
2
votes
2answers
4k views

UpdatePanel with SharePoint 2010 web part

UPDATE protected override void CreateChildControls() { if (!this._error) { try { base.CreateChildControls(); ...
2
votes
4answers
7k views

Content rotator for SharePoint lists

I'd like to build a content rotator web part for SharePoint 2010 to display list information. I'm working with the ever-popular AnythingSlider. A couple of questions: How would I let the page author ...
2
votes
4answers
7k views

How can I filter a calendar (ListViewWebPart) web part?

I've entered a lookup field to a calendar list that corresponds with the values in a list of links. I would like to show only calendar entries on the web part that correspond with the selected link. ...
2
votes
1answer
709 views

Pass list item metadata to filter for document library

looking for a way to filter a document library based on metadata from an item in a different library. For example I would have two web parts on a page , selecting on in item in library one would ...
2
votes
1answer
380 views

Do connectable webparts need to be in the same project?

I've found two tutorials that I'm looking at: http://msdn.microsoft.com/en-us/library/ms469765.aspx http://mstecharchitect.blogspot.com/2010/04/creating-connectable-web-parts-using.html But both ...
1
vote
1answer
25 views

How to call a user control in a client web part

I'm trying to call a user control (.ascx) in a client web part that I've created, knowing that I need to do that in a provider hosted app. Can someone give me a helpful tutorial please? What should I ...
1
vote
2answers
508 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 ...
1
vote
1answer
5k views

Folders in document libraries: how to navigate back up to parent folder (web part on page)?

I have a document library web part on a page and it contains a folder. When a user clicks on the folder it opens and shows the documents inside, but there is no way to go back to the parent folder ...
1
vote
1answer
3k views

Setting “Chrome Type” to “None” for a web part using power shell

I have added a custom web part on page. Some how I am not been able to change its Chrome Type to None because when I mouse over the corner of web part where the arrow is supposed to show under ...
1
vote
1answer
4k views

Deployed web parts don't show up in Web Part Gallery

I have created several custom web parts in a Visual Studio solution which deploys to my development environment site perfectly directly through Visual Studio. However, I also want to be able to ...
1
vote
2answers
2k views

Trending #tags webpart not working - SP 2013

We are having a problem with our "Trending #tags" webpart that is not displaying any data. It resides on the MySite host default page, (default.aspx). From my understanding #tags which are mentioned ...
1
vote
2answers
94 views

How to find where a web part has been placed

I have a task where I need to locate every page that has a particular web part on it. It looks like I may be able to get this info from the database itself but I'm not sure how thorough this may be. ...
1
vote
1answer
1k views

Force Chart Web Part to show all labels

When using the Chart Web Part (horizontal bars) only every fifth bar-label gets displayed. The end user can't see what the other bars represent. Is there a way to display every label for one axis?
1
vote
1answer
3k views

SPLimitedWebPartManager throwing “File is not checked out” error on AddWebPart and DeleteWebPart

I'm writing a powershell function to add custom webparts (i.e. not Out Of The Box webparts such as ContentEditor) to publishing pages on a SharePoint Server 2010 site. I encountered a frustrating ...
1
vote
1answer
2k views

Use a querystring parameter in a CAML Query

I want to pass a parameter between two separate web parts I am developing. In my 'Detail' webpart i need to build a CAML query to display the correct profile based on their name. pdquery.Query = ...
1
vote
1answer
781 views

Web Part Data into Sharepoint LIst

I have a custom web part which have lot of fields that will be filed out by user and on submit is there a way that i can populate these values into a SharePoint list .I don't want to use info path as ...
1
vote
1answer
212 views

default custome webpart became static on custom site page

I have created a custom site page in sharepoint 2010 and added the following code to it <WebPartPages:WebPartZone runat="server" FrameType="TitleBarOnly" ID="Main" Title="loc:Main" > ...
1
vote
1answer
330 views

SharePoint 2010 and ASP Profile Provider

We have web application with SQL ASP Membership Provider, Role manager and profile provider. This web application has both authentication methods: NTLM and forms. Everything works fine. Problem ...
1
vote
1answer
545 views

Is it safe to store the credentials in the properties of a Web Part?

In my web part, I use a class WebProxy. The object of this class uses special credentials. It would be nice to store the credentials in the Web Part properties. And so the user can change them. For ...
1
vote
1answer
226 views

How to set XSL property on inherited core search results webpart

I have created a custom Search results web part by inheriting from coreresultswebpart. I would like to override the default XSL with some modified XSL in my project instead of having to set the XSL ...
1
vote
2answers
2k views

Using the Now() function in CAML Query?

i am trying to get the 3 most upcoming events from the current date and time (The current data and time refers the time everytime my web part loads. Basically it is not a fixed date and picks up the ...
1
vote
1answer
357 views

Sharepoint Ribbon for view item form going full option

I have a view item form which contains a custom WebPart for displaying that item. I have no issue with that but the ribbon for the display form looks weird: It contains lots of options that don't ...
1
vote
4answers
769 views

How to access a library that is not in same farm. i.e. WebPart is in Farm1 and library is in Farm2

How to access a library that is not in same farm. i.e. WebPart is in Farm1 and library is in Farm2 My company has many farms and now I need to create one WebPart that is going to sit in farm1 but it ...
1
vote
2answers
8k views

How do get selected item of list?

I have a webpart .I add a listviewbyquary in createchildcontrols and a hyperlink in visualwebpart. i use this http://graegert.com/featured/using-the-editorpart-to-create-a-custom-listview-web-part ...
1
vote
1answer
1k views

Custom web part throws error when I try to add it to page

I am working on a custom web part, that keeps error out with: A web part or web form control on this page cannot be displayed or imported. the type is not registered as safe any time I ...
1
vote
2answers
5k views

target audience not working as expected with site group

In my SP2010 farm, I have : one domain group "AD Group" the group have domain\user2 as a member one site group "SP group" with the following members AD group domain\user1 On the home page, I ...
1
vote
5answers
7k views

Can't edit page after adding custom web part!

When I click on the edit icon nothing happens. No errors, no post back nothing. I ended up turning on the Console in FireBug and it throws this error: SP.Ribbon.PageState.ImportedNativeData is ...
1
vote
3answers
315 views

Possible to have users configure a few values when adding a webpart to a page?

I have a web part that has to does something specific with a list. I would like to have users specify which list they want the web part to use when they add it to a page and not worry about it again. ...
0
votes
1answer
104 views

Quick edit will not appear in some views but will inside others

I have created a list with different views and each view is a standard view style. I set up a link to the view and edit the web part properties to show the tool bar. Now before I selected show tool ...
0
votes
1answer
42 views

Please suggest me controls for weekly view of calendar

I want a control like to get weekly view of calendar in boxes.User need to be navigated to another week and default view is current.I don't know how to achieve this.I tried calendar weekly view.But ...
0
votes
1answer
1k views

Sharepoint 2013 Custom Web Part: Get and display data from Oracle and SqlServer databases

I'm developing a Custom WebPart to retrieve data (based on certain queries) from a SqlServer and Oracle databases: The data should be displayed in a grid/table/etc with sorting, filtering and ...
0
votes
2answers
249 views

How to upload jQuery library into web parts without master page

I am in the process of migrating from SP2010 to SP2013. In SP2010 the Scriptlink feature was used to upload all of the jQuery libraries from the master page. Currently I want to test some web parts in ...
0
votes
0answers
260 views

Why edit option is not working on the SPGridView in SharePoint 2010?

Have created the Webpart based on http://kitmenke.com/blog/2010/02/18/editing-in-sharepoints-spgridview It does work however I want display the results based on the filter value as below it ...
0
votes
1answer
705 views

The file /_controltemplates/15/ does not exist

We are planning to migrate from share point 2010 to SharePoint 2013.So we have created one POC environment to test the customizations(master pages,Page layouts,web parts,site definition,Site ...
0
votes
2answers
370 views

Multiple Webparts with the same Javascript

I have a site with multiple Webparts. Some Webparts are linking on the same .html file. The HTML file reads data from a list and displays it in a table by using javascript. My problem is that there ...
0
votes
1answer
2k views

RegAsm : error RA0000 : Could not load file or assembly or one of its dependencies. The system cannot find the file specified

I am new to sharepoint. I try to add the Microsoft.SharePoint.dll to GAC. For that one I have used below code Code : `c:\WINDOWS\Microsoft.NET\Framework\v4.0.30319> Regasm.exe ...
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 ?