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
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
251 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
435 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
505 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
493 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
342 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
107 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
170 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
469 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
692 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 ...
0
votes
1answer
878 views

Button Onclick EventHandler from CreateChildControls

I have declared a button in my CreateChildControls method in my web part page: TableCell updateCell = new TableCell(); Update = new Button(); Update.Text = "Update"; ...
0
votes
1answer
96 views

Add content to Web Part without reloading

I am developing a Search Web Part for a WSS 3.0 site in Visual Studio 2008. The user types in their search criteria, then clicks OK. In the Click event, I am iterating through every Site Collection in ...
0
votes
2answers
133 views

How do you access SPGridview ClientID in web part from javascript on the page

I am creating an SPGridView dynamically and adding to my page. It is encased in a web part. How do I access the ClientID of the grid from the javascript on the page? function openCommentsDialog( ...
1
vote
1answer
5k views

Combine Multiple Lists into one

I have a bunch of site collections that all have a identical list( status, Title, Date). I am trying to create a master list on my site that grabs the items from each lists and displays them all ...
2
votes
4answers
5k views

How to add javascript and css to a SharePoint 2010 webpart?

What is the proper way (i.e. without having to manually copy the assets to any sharepoint folder or anything like that) to add custom javascript and CSS to a SP 2010 web part? I would like them to be ...
2
votes
1answer
3k views

Steps to convert application page to web part page from Visual Studio 2010?

I added an application page to my module and now I want to covert it to a web part page. In the code behind I changed the inheritance to WebPartPage. using System; using Microsoft.SharePoint; using ...
0
votes
1answer
2k views

Deploying a module through a feature for web part page

I have created a visual web part through visual studio 2010 and it works nicely when I add it to web part page. I now want to create a custom application page to consume my web part. I created a new ...
1
vote
1answer
1k views

Heavy customization of DispForm.aspx

I'm building a quite complex application that have a lot of custom UI requirement, especially when displaying one item. The item show parts of it only when specific rules are met (mostly related to ...
0
votes
1answer
6k views

How to copy a Sharepoint page?

In SPD2010 (Sharepoint Designer 2010) under "Site Pages" I created ASPX page ASPControls.aspx, added and configured AdRotator ASP.NET control. Having ollowed "Using ASP.NET Validation Controls" of ...
1
vote
1answer
53 views

Document viewing according to permissions/login

We would like to see if there is a document library web-part that can have security based on specific users. Say there are two doctors, Dr. Jay and Dr. Jack. We would like Dr. Jay and Dr. Jack to ...
0
votes
1answer
314 views

SharePoint Root Site name show

I have a SharePoint site collection. The root Web of the site collection has the URL http://intranet.com. I plan to create a user solution that will contain a Web Part. The Web Part will display the ...
0
votes
1answer
340 views

Bind to list item record from template dropdownlist of choice fields?

I have created template field with a ddl. I have instantiated an SPGridview and the ddl shows up but only with the default choice values. How do I bind to the actual values of the List item record? ...
0
votes
1answer
263 views

“Allow Close” and a couple other options grayed out while trying to edit my custom web parts?

I have a few custom web parts on my home page. When I add users to the members group (contribute permissions) they seem to be able to delete them as well. I want them to be able to interact with them ...
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" ...
1
vote
2answers
11k views

How to register a Web Part as safe?

At launching "Preview in Browser" (by pressing F12) of a page from SPD 2010 I am getting the error: soap:ServerServer was unable to process request. ---> A Web Part or Web Form Control on this Web ...
2
votes
1answer
359 views

Event for when web part get's focus c#

Is there a way to know when a webpart gets focused? I've look around, but couldn't find anything helpful. Thanks!
2
votes
1answer
225 views

how to use custom web part properties in CQWP

I have extended the CQWP and have several custom web part properties. One is a text field named "Header" and I would like to use it for a header in my CQWP. I know that I need to edit ItemStyle.xsl ...
1
vote
1answer
1k views

Causes of “The Web Part you are connecting from does not allow authoring of connections”

When I add my provider and consumer web parts to a web part page (following Walkthrough: Creating Connectable Web Parts in SharePoint Foundation) I find that the 'Connections' option on my webpart is ...
1
vote
1answer
523 views

Can I add Media Web Part to Application Page?

I am trying to implement a video library page in Sharepoint. What I have is a Video Library where each of subfolder will represent a playlist. I want to create an Application Page which will have a ...
0
votes
5answers
4k views

Add a Web Part to a Master Page for only one page in SP2010?

I would like to add a Web Part to part of a Master Page, but only in the case of the home page of the site. Otherwise it is not needed. How can I handle this? (see attached image) Do I have to ...
0
votes
1answer
353 views

SPRibbon Button Unique Button Commands

I basically have a WP with its own custom Ribbon Buttons and Commands. The command's are hard-coded inside the the Elements.xml. However, the webpart basically breaks once you add another "same ...
0
votes
1answer
3k views

How do I update a lookup column from a dropdownlist?

I'm creating a custom web part in asp.net for SharePoint 2010 programmatically. When a user presses an Add button, the selected item from the dropdownlist is supposed to then be added to the Groups ...
0
votes
2answers
131 views

When to abandon session on a webpart

On a webpart, when I am navigating away from the page the webpart is on, I need to abandon the session of that webpart. I store values in the session that are used by the webpart. The webpart is ...
0
votes
2answers
3k views

How to tailor permissions so users of the Contribute group are not able to delete web parts?

As of now when I add users to the OOTB Sharepoint 'Members' group with contribute permissions they are able to delete web parts as well. I tried two suggestion I found online: Go to site ...
1
vote
1answer
2k views

Filter Multiple connections List (no-code solution)

I have a mission to create a filter for any field of my list, there are many. The connection is just made in the first filter, I cannot connect more than once... I've searched for code which would ...
4
votes
3answers
3k views

How to deploy web part solution to multi-server farm?

I am having a heck of a time deploying a simple web part to a multi-server farm. The error I receive when deploying is: Error occurred in deployment step 'Activate Features': Feature with Id ...
2
votes
2answers
734 views

Life cycle of SPContext.ListItem

I have created a messaging system (basically a simple announcement list with a recipient and a IsRead flag). This have been done by creating the classics web fields, content type, list schema and ...
1
vote
1answer
510 views

Programatically update a webpart property doesn't get updated

I'm trying to programatically update the title of some webparts. To do this, I am getting all the pages from the site, getting the webparts for each page, and first print out the current title, change ...
1
vote
1answer
2k views

Webpart not refreshing after editing custom properties

I have a webpart with several properties that are part of a custom ToolPart. When i set the properties i would like the webpart to reflect the property changes while still editing after having ...
0
votes
1answer
95 views

How to open or access a webpart's XML and rename its namespace Using PowerShell?

We have some web parts deployed in our Sites, which are not working due to Migration from MOSS to SPS2010, and I need to replace the namespace used by power shell by accessing the Webpart's XML..
0
votes
4answers
1k views

Relational data - how to best manage in Sharepoint

I have several lists in Sharepoint I'd like to link/view/query together, but I find it difficult to edit relational data with the same ease as could be done in e.g. an Access database (subforms, ...
0
votes
1answer
189 views

Related to calendar list webpart

I am getting below error when I select a past date (ex : may21) in my calendar list webpart Data at the root level is invalid.Line 1, position 1. (9357c51d-202e-4a83-8ef5-d77324f4e989) After ...
2
votes
1answer
3k views

How do I use the form save button with a custom web part?

In order to familiarize myself with SharePoint development, I have created a custom web part to replace the default New, Edit, and Display forms of a custom list. Is there a way to use the already ...
1
vote
1answer
419 views

Struggling to understand why adding a web part to a web part zone is so difficult

It's rather frustrating that a task such as ensuring a web part zone has a certain web part in it (on a page layout) is such a difficult or, at the very least, tricky task considering it's surely ...
1
vote
1answer
2k views

How to add a custom filter for a chart?

I have a list which contains multiple columns. I have inserted the chart web part and it's showing the graph based on the column list. Now I want to add a custom drop down filter which contains column ...