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
3answers
469 views

Access Denied for SPUserCollection.remove()

Works for administrator but not working for a normal user. I even tried it with "SPSecurity.RunWithElevatedPrivileges(delegate() {});" after breaking RoleInheritance, and even tried ...
0
votes
2answers
374 views

Modify an existing item based on ID

The following code is what is I use to insert new list items: using (SPSite oSPsite = SPContext.Current.Site) ' using (SPWeb oSPWeb = oSPsite.OpenWeb()) ' SPList list = ...
0
votes
2answers
835 views

Page viewer webpart, applying style sheets?

Can i apply css style sheet to a page viewer webpart ?
0
votes
1answer
1k views

How Do I Get the MySite Images and Full Name of the MySite owner in MOSS 2007 in C#

I am building a simple web part that needs the image that is used from the MySite and the First and Last name of the site owner. I know how to get the current user, I need the name. I am also having ...
0
votes
3answers
421 views

Creating a CSS web part? (hiding the right column on certain pages)

We have a site that is three columns wide. On just a handful of pages (maybe 10 out of 300) we'd like for the right column to be hidden, and the main content area to stretch over that. It's literally ...
0
votes
2answers
91 views

MSDN example scenario

I am working with the MSDN example scenario creating creating a custom web part. Can anybody tell me why is it showing the square bottom div below (see in the image). It says "Bottom" and it ...
0
votes
3answers
2k views

SP 2010 The maximum number of Web Parts for all zones on this page has been exceeded

I am developing SharePoint web parts and as soon as I click on the left navigation to add a web part to the page I get the below error. I am using SP 2010 VS 2010 Server Error in '/' Application. ...
0
votes
1answer
386 views

Nesting webparts programatically

I have a user requirement to add a webpart inside another; I am creating a tabbed container webpart, inside which the user wishes to add other webparts. How can this be achieved?
0
votes
1answer
2k views

Localizing ASP markup in webpart issue

In my web part I have an label, which I want to be localized: <asp:Label ID="AppJSTNameLabel" runat="server" Text="<%$Resources:AppListWebPart,NoSelection%>" /> I have mapped Resources ...
0
votes
1answer
264 views

Sharepoint form prepends WPQ2 to form names

I have a custom form added as a webpart that sends to another site. Unfortunately the name attributes of each of my fields is getting prepended with WPQ2 automatically. for example: <input ...
0
votes
3answers
654 views

Getting SharePoint absolute site url

I need to get the current absolute url of my site from inside code-behind. I tried SPContext.Current.Site.Url and get this error Value does not fall within the expected range. The goal is to get ...
0
votes
4answers
1k views

Web part settings losing their values every day

I have a web part custome setting, defined as below. It works fine but it seem to lose its value once a day!? Is this because the app pool is getting recycled or some such? Is there anyway to prevent ...
0
votes
3answers
1k views

SharePoint 2010: Problems with a connection provider web part which uses an UpdatePanel

I might be going about this in totally the wrong way but this is what I'm doing: I have 2 custom web parts: a company calendar and an appointment list. Both are visual webparts and both contain an ...
0
votes
3answers
2k views

Develop a custom editable Visual Web Part (WebPart) for SharePoint 2010

I want to develop a webpart that allows editors to amend its content using the built-in rich text editor, and then display that content in a nicely formatted way. The built-in content editor webpart ...
0
votes
2answers
687 views

Rendering of WebPartZone

How can I prevent a WebPartZone from wrapping with <table>? For web accessibility we don't want WebParts to be wrapped in tables.
0
votes
4answers
428 views

Formatting controls in web parts

If you have multiple controls in your webpart how do you format them 'nicely' so they don't all appear in one horizontal line? So you would have something like CompanyName: First Name: Last Name: ...
0
votes
1answer
741 views

Is SharePoint's ListViewXML syntax based on a standard?

Recently I had to change a ListView webpart and noticed the syntax that renders the HTML is not XSLT. Is this syntax documented somewhere? Example, <IfEqual> <Expr1> ...
0
votes
2answers
2k views

Using multiple filters in a filter web part

I'm working on a filter web part inherited from another developer and it's the first time I've worked on them. It currently allows for a single filter and another filter needs to be added. Initial ...
0
votes
3answers
34 views

How to display Custom Page Inside Web Part Page

In one part of my portal I have a Web-Part page, and I want to use one of the zones to display a Custom Page (just a wiki page from a Team Site in the Site Page library) inside that zone. If I use a ...
0
votes
1answer
30 views

Change web part position from css

How can I make a web-part (content query) move a number of pixels (for example 10 pixels) to left in Sharepoint 2013? When I click inspect I can edit the number of pixels by changing this line of ...
0
votes
1answer
30 views

New Item of List View

I created a webpart. The webpart is a slider. I add new item on the webpart's list. I want to I add my final list of items in that it appears at the top. So get the slider of the first image. How ...
0
votes
1answer
83 views

Showing / Hiding Webparts Conditionally

Is there a way to hide web parts on a page conditionally. I have two views set up in an infopath browser enabled form (edit view). When I select a button to go to another infopath view I want to hide ...
0
votes
1answer
39 views

unable to add a search core result web part inside my enterprise wiki site collection

I have two site collections inside the same web application; siteA & siteB. now inside siteA i want to display the latest items from siteB. i read a lot about cross-site query , and it seems that ...
0
votes
1answer
49 views

Dynamically Display List from Menu Selection

I currently have a site that has a CSS/HTML menu that links to different lists created in SharePoint 2010. There are dozens of these lists and currently selecting one from the menu goes to an entirely ...
0
votes
1answer
88 views

c# add existing webparts on site into sandbox webpart solution

I want to create a webpart using sandbox webpart solution on C# which contents two or more webparts (such as a list, task, document,...) existed on my Sharepoint site. So my new webpart will have some ...
0
votes
1answer
91 views

Unremovable but editable WebPart in PageLayout

Task add ContentSearch WebPart to pagelayout must be unremovable toolpane must be aviable to edit Query and Display Template PageLayout, JS and CSS solution Approach The only way to have a ...
0
votes
2answers
383 views

Show Document Library list in a web part on a different site in SP2007

I have a document library set up on a sharepoint site that i need to display in a web part on another site page thats within the same domain, is this possible?
0
votes
1answer
36 views

Create Clickable Title Web Part

I have a simple web part that renders data. My client asks me to create a clickable web part title. How would you solve this problem? Because I cannot add controls to it.
0
votes
2answers
103 views

Hide document web parts in page from group/people

I have document libraries for each Group. For example Company1 library for company1 Group and etc. When they go to site, they see only their library. My needs are that those libraries would be ...
0
votes
2answers
905 views

Digital World Clock SharePoint Web Part

I am looking to create a web part that displays the current time in different areas around the world (preset) preferably adjusting to day light savings time. Ive looked at a couple webparts and they ...
0
votes
2answers
301 views

Auto complete box with multiple values in SharePoint Web Part using J query and SharePoint list web service

SharePoint 2010 Questions. I am trying to create an auto suggesting text-box with multiple values in a SharePoint web part. i am using j query and SharePoint list web services to do it. I am just ...
0
votes
2answers
245 views

Url error on lookupfields causes webpart to fail

I’ve setup up two lists. A main list(list A) and a secondary list(list B). These two lists are related through lookupfields, where list B looks up items in list A. On the DispForm.aspx for list A, ...
0
votes
2answers
237 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
2answers
824 views

sharepoint 2010 - 2013 web parts migraiton: jQuery is undefined error

I posted this in the general Stack overflow site but this seems like a better place to post a sharepoint question. I am trying to move a custom web app (contacts list) from sharepoint 2010 to ...
0
votes
2answers
107 views

Zone index number appearing above Web Parts?

It would appear that for each web part displayed on only one particular page in my Sharepoint configuration, that the 'Zone Index' is appearing above each web part as seen here: ...and here: ...
0
votes
2answers
148 views

WebParts with JavaScript don't work with managed path

I developed a SharePoint 2010 WebParts with JavaScript and CSS(inside a module). I haven't problem on development environment but in production environment. In production environment I have a ...
0
votes
1answer
40 views

Why do we need to strong name and mark webpart as safe?

We are using SP2013 and developing webparts for clients to be used in the intranet portal. We create the webpart, implement the logic and publish the wsp and install it on clients server. I want to ...
0
votes
1answer
390 views

How to begin with making a custom web part in Visual Studio, collecting data from lists across different sites?

First of all I'd like to say that I'm very new at working with Visual Studio 2013 and with C# as well. I want to make a certain web part in Visual Studio 2013 for a SharePoint 2013 test environment. ...
0
votes
2answers
319 views

Error when importing listview webpart to subsite

I have a list on a root site (SP 2010). I want to create a list view webpart on a subsite that is connected to the list on the root site. All the guides I have read online say to go into the listview ...
0
votes
1answer
457 views

ListView Web Part provisioning with SharePoint 2013

I have following web part which I copied from this blog <?xml version="1.0" encoding="utf-8"?> <Elements xmlns="http://schemas.microsoft.com/sharepoint/"> <Module ...
0
votes
1answer
689 views

“Doc's I'm following” Webpart

on the mysite there is a section with the documents which I'm following. Is there a chance to display these documents in a Webpart on another site? Thanks in advance!
0
votes
1answer
117 views

using showModalDialog with hyperlink in code behind

I am using the following code to call the javascript function but the cursor is not showing when I hover over the link. Any idea how to make this code work? lnkUpload.Attributes["onclick"] = ...
0
votes
2answers
133 views

Image and HTML WebParts

I'm defining a pagelayout in sharepoint. I've defined several zones (webpartzones) surrounded with some DIV tags for controlled positioning. In those zones i want to be able to put code (custom ...
0
votes
1answer
113 views

What page type is default home page on team site (Sharepoint 2010)?

Is default home page for team site a web part page? I am learning Sharepoint and have somehow messed up my home page (probably in SPD). (When I try to edit in browser, all my webparts are deleted ...
0
votes
1answer
408 views

SharePoint randomly displays web part error

I am noticing that on all pages sometimes SharePoint doesn't load web part and displays the following message: Unable to display this Web Part. To troubleshoot the problem, open this Web page in ...
0
votes
1answer
173 views

Issues in some contents of Excel web access web part in mozila firefox and google chrom

Whenever we create an Excel web page, using Excel web access web part, we got an option "open in excel". That "open in excel" option is not working in google chrome but it is working in Internet ...
0
votes
4answers
700 views

How to automatically copy/save a SharePoint list monthly for archiving purposes

I have a SharePoint List that gets updated by users on a regular basis in our SharePoint 2010 instance. At the start of every month (i.e. 11/1/2013) I want to copy that list to another location as a ...
0
votes
2answers
739 views

PeoplePicker Sharepoint Field Resize

I am editing the look and feel of my Sharepoint NewItem.aspx Form using HTML, CSS and JavaScript. But im having a problem on how to resize my people picker Sharepoint:Formfield. I used css and even ...
0
votes
1answer
79 views

Allow multiple people to work on different web parts at the same time

I've scoured the internet and tried asking different questions but still can't come up with a nice solution to this problem. Consider a situation where I have 2 web parts, each of which is being ...
0
votes
3answers
926 views

create_DialogOptions is not a function

I have a Custom Tool part on my web part that handles properties. It has a link that when clicked shows up a modal dialog but I'm getting this error: TypeError: SP.UI.$create_DialogOptions is not a ...