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
115 views

MOSS 2007: jquery can't access web methods from custom web parts

I have custom web parts on MOSS 2007 that uses jquery to call my custom web methods. I have been checking my MOSS 2007 Web Application on Firefox with Firebug and on the Console Tab it says 401 errors ...
2
votes
1answer
370 views

How to get current SPListItem from web part on edit form?

It seems like there should be a way to do this, but I haven't found anything. Do I need to use the url to try and extract this information or is there a better way?
2
votes
2answers
93 views

Global property for all webparts on a page

Not sure if this is even possible. Is there a way to setup a global property that can be used by all webparts on a page.
0
votes
0answers
373 views

Keep getting Unable to display this Web Part. To troubleshoot the problem, open this Web page in a Microsoft SharePoint Foundation-compatible HTML

Keep getting this error "Unable to display this Web Part. To troubleshoot the problem, open this Web page in a Microsoft SharePoint Foundation-compatible HTML editor such as Microsoft SharePoint ...
3
votes
4answers
8k views

Redirect a user after submitting an InfoPath form

I made a custom list in SharePoint and then created an InfoPath form based on that list. I created a new page in my SharePoint publishing site and added an InfoPath Form Web Part that looked at my ...
2
votes
0answers
803 views

How can I specify the ID of a XsltViewWebPart?

In a module, I'm deploying a webpart page where I put a view to a list : <View WebPartZoneID="Body" WebPartOrder="3" List="related" BaseViewID="4" ...
1
vote
1answer
1k views

how to Render Controls from CodeBehind into a specific Panel

I'm in the process of working thorugh Microsofts video tutorials for developing on Sharepoint. My actual small project is to create a visual Webpart which displays a list of all registered users with ...
1
vote
1answer
656 views

ASP.Net repeater web-part of a SharePoint list

This is driving me insane! Done this many times as a .Net developer but can't seem to get it working in a SharePoint webpart. Page load code... Protected Sub Page_Load(ByVal sender As Object, ByVal ...
0
votes
2answers
479 views

Adding a WebPart to a page (Stapling)

I have been trying to do this for a while now its a huge pain as I can't seem to find any good guides to show all steps for adding a web part to a page using a feature staple. I have the feature ...
2
votes
1answer
770 views

Use a repeater to display images from image library

I am creating a sandboxed webpart which display a list from my SP. I have the following code ASCX page... <asp:Repeater ID="rptCarousel" runat="server" > <ItemTemplate> ...
1
vote
1answer
211 views

Do not load data in design mode of webpart

I have custom webpart which gets data from external database using BCS. When I add the webpart in a webpart zone, it queries the BDC to get data so it take time to insert webpart. I only want to query ...
1
vote
1answer
2k views

How to access web part properties from the web part user control

I have created a visual web part containing the default user control. I want to access the custom property of the web part defined in the xml-file Mywebpart.webpart -CustomProperty- from the ...
1
vote
1answer
88 views

Own Webpart properties for each webpart

I have created my first Webpart with own properties: [ToolboxItemAttribute(false)] public class BildMitHyperlink : WebPart { [WebBrowsable(true), Category("MY"), DefaultValue(""), ...
2
votes
2answers
990 views

Adding webpart to filter view by code is not working

I need to add a new page in a new doc library. That works fine. In the page I need to add a webpart to filter list data from a view bases on 3 columns from the view. The following code is not ...
0
votes
1answer
252 views

Ajax or jquery enabled Tab Zone Webpart with SourceCode

I am trying to find a TabZone Webpart Ajax enabled or using jQuery so that when I click on tab 2 while i am on tab 1 it shouldn't do a postback and make changes without loading page again. We are ...
2
votes
1answer
2k views

Partial postback sharepoint webpart

I am trying to add update panel to my sharepoint sitepage below: I am getting the error : Failed to load viewstate. The control tree into which viewstate is being loaded must match the control ...
2
votes
1answer
497 views

Can You Add a WebPart to a Wiki Home Page via Powershell?

Salvete! Is it possible to add a webpart to a Wiki Home Page via Powershell? I have 100 sites for which I need to add a web-part to their home-pages. I know this is easily possible with normal ...
0
votes
2answers
251 views

Client Object Model Javascript intellisense

I created a new test.js file in the project node of my web part solution with VS 2010 and included the references: /// <reference path="C:\Program Files\Common Files\Microsoft Shared\Web Server ...
0
votes
0answers
86 views

Status List not functioning correctly

I have a status list that works fine and shows the indicator value and everything else I want. HOWEVER, when I try to add this status list to a web part, I can no longer see the Indicator Value...it ...
0
votes
1answer
143 views

web part properties panel covered by the master page

I'm upgrading a SharePoint site from 2007 to 2010. I'm done with all the master pages and page layouts. Is still have however a minor thing that is bugging me. When editing a page, the web part ...
0
votes
2answers
4k views

The control with ID 'XXXXX' requires a ScriptManager on the page. The ScriptManager must appear before any controls that need it

I am getting the layout issue for calendar webpart in my page . with the error message : The control with ID 'XXXXX' requires a ScriptManager on the page. The ScriptManager must appear before any ...
0
votes
1answer
412 views

How do I show all recently added documents within all folders?

Hi I tried to create a view in the recently added documents webpart to filtering only on documents created, because it was showing folders too. When I created the view nothing was populating, which ...
0
votes
1answer
116 views

Column that show the title of an item and point to a lookup value?

I have two lists, let's say "Parent" and "Child". There is a lookup in "child" list that point to "parent". In a custom view of Child list, I'd like to have the title of "Child" display, with a link ...
3
votes
1answer
1k views

Connecting Web Parts across pages in SharePoint Designer

I am trying to connect some web parts across different pages (in the same site) and the behavior I am seeing doesn't make sense to me. I think I am missing something in my understanding. I am using ...
2
votes
0answers
573 views

Setting an audience from declarative WebPart?

I have a module that deploys some page. I'm adding webparts to these page, using a <AllUsersWebPart> node within a <View>: <View WebPartZoneID="Body" WebPartOrder="5" ...
3
votes
4answers
673 views

Which is Better a UserControl or WebPart?

What are the advantages of user controls over WebParts when dealing with SharePoint? Some I can think of are: familiarity, reusability, and development speed. I am planning to implement them in ...
1
vote
1answer
596 views

CQWP Error when modifying webpart and ItemStyle.xsl : from example SP2010

I am trying to create a webpart that would take blog posts from subsites under site and roll them up. I found a blog that describes exactly what I am trying to achieve here. After following these ...
2
votes
0answers
158 views

Connecting web parts works in Designer, but not by editing on page

I have created some DataFormWebParts that use a web service data source in SharePoint Designer. I then exported each one to the site web part gallery. Each data source is configured with a parameter ...
1
vote
1answer
377 views

List Item won't save if title is entered

I have created a new list and am working on editing the newform.aspx page to customize the form. In the new list, I have renamed the title column to 'Details' because I will be using it as a link to ...
3
votes
1answer
837 views

Web Analytics Web Part displaying “There are no results to display” message

I am a regular sharepoint user, not an administrator. I've create a Site under My Content and populated it with a dozen pages over the last 10 days or so. On the site home page I've added two Web ...
2
votes
2answers
337 views

Webpart with custom properties - cancel does not work

I have implemented a webpart with custom properties in an editor part. If I click apply or ok, the values are successfully updated (code in OnPreRender). The problem is now that if I click apply and ...
1
vote
0answers
288 views

SharePoint 2007 WebPart Event Handling on Custom ASPX webpart page

What I'm trying to do: I've got a custom aspx page that is wrapped in a SharePoint feature in order to get deployed. This aspx page contains 4 (Excel Web Access) web parts that are added dynamically ...
14
votes
2answers
6k views

Which Redirect method should I use?

I'm using SharePoint 2010. I have webparts, then when OK/Save/Cancel etc is clicked, it will redirect a user to the relevant page. Over the past few months of writing different WebParts I have ...
1
vote
1answer
164 views

How to add web application (project from Visual Basic 2010) to Sharepoint Foundation

I would like to ask, how I can add web application (this is Visual Basic project) to my site collection in Sharepoit Foundation? Can I do this without create web part? If no or yes please tell me how ...
1
vote
3answers
4k views

Is there a simple override method to change the background of a webpart? SP 2010

Found out how to change the background of one single page (body of that page). This works when I want a single page or two to have a specific background instead of modifying a master page. Is there ...
2
votes
1answer
119 views

What kind of page to use?

I'm building an interface that allows for users to customize the webpart zones on their page to a layout of their choosing. It seems the best way to do this is to have all possible layouts present on ...
1
vote
1answer
1k views

How to show data in a Sharepoint gridview in sandboxed?

I am having a big trouble with showing data in a gridview. All the guides on the internet is using LINQ, but i can not use that, because i create new Lists in Sharepoint, that therefore would not be ...
2
votes
1answer
57 views

Make WebPartPage editable ONLY by SCA, but personalizable by all in site definition?

I'm creating a landing page inside of a site definition. This landing page will have all blank web part zones. What I would like to do, is have the zones initially set by someone like a Site ...
1
vote
1answer
184 views

Creating a Sandbox Compatible WebPart that extends Rss webpart functionality?

I'm trying to create a web part that can pull in twitter feeds on a sandbox site. Since sandbox webparts cannot make cross domain calls, I thought that I could use an old trick I enjoyed, which was ...
3
votes
1answer
1k views

how to check if a webpart already exists on a page or not

I am adding three webparts with different titles to a given page url, but I need to check if webpart is already on page or not, here is the code i am using atm to add webpart to the page. using ...
2
votes
3answers
1k views

Develop a custom format display for a sharepoint list

Is there a possibility to develop a custom format display for a sharepoint list. What I mean, can I develop a custom datagrid for the list webpart ?
1
vote
1answer
249 views

Sharepoint Excel data table and Chart

Need help about sharepoint. I have a table data collection currently in ms excel document look like the following image. every last day of the week the information will be updated (append new ...
1
vote
1answer
432 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
496 views

What is the requirement for a Page Viewer Web Part?

I've been running a number of Page Viewer Web Parts on my development environment, but upon deploying the system to a production environment I find that there's no Media and Content catalogue, and ...
1
vote
1answer
484 views

Add Calendar list to WikiPage using Powershell

I have inserted a Calendar list to a page(SitePages/Home.aspx) using a powershell script, But I want to insert it in to a specific location as shown in image. When I insert the calendar list it insert ...
0
votes
1answer
338 views

Is it Possible to Create a Custom Web Part that Embeds Performance Point Dashboards?

We are using PerformancePoint 2010 and have a number of dashboards setup already. However, we don't like the look and feel of the filters rendered in the typical PeformancePoint view. We instead ...
1
vote
0answers
106 views

Webpart to archive selected documents in a Sharepoint 2007 document library

I am new to Sharepoint. Currently using Sharpoint 2007 for doing some POC on archiving selected documents in a document library. I added a column to Document library as Archive, which is Check box. ...
1
vote
0answers
169 views

Webpart zone index always gives 0

I'm having some problems with placement of my web parts. I have two different CEWP, which should be placed with zone index 0 and 1. However, after deployment both have the index 0. This is how I set ...
0
votes
1answer
465 views

using TaxonomySession from SharePoint web part and visual web part

Can TaxonomySession be used at SharePoint visual web part and web part on sandbox? I tested a simple code as following, protected void Page_Load(object sender, EventArgs e) { ...
3
votes
2answers
686 views

SharePoint webpart and application page

I need to make an application page or a webpart that have a javascript code and i tried to add the jquery i a new project to upload it to the SharePoint but the code didn't work this is the code that ...