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)

3
votes
2answers
707 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
937 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
97 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
138 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
332 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
363 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
276 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
369 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
236 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
540 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
359 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
134 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
803 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
555 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
97 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
2k 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
192 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
427 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
3k 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 ...
2
votes
1answer
748 views

What query string can I use to enable web part editing?

This is a real long-shot, but here goes. I followed this tutorial: httpcode.msdn.microsoft.comAdding-default-web-parts-ab7aec72#content And successfully, have incorporated the server control into my ...
1
vote
2answers
1k views

Where is the data from content editor web parts stored?

I'm in the process of developing a few page layouts. I can map certain TextEditor's and RichHTMLEditor's fairly simply - and the concept of the data found in these controls being saved to a field is ...
2
votes
4answers
10k views

Display List or Library on another site as WebPart?

I want to display my list on another site in same site collection. I edit List with SPDesigner, select the view and save it to site gallery. After these steps, I added the view webpart on my another ...
1
vote
1answer
1k views

How do I get values of fields from custom lists?

I have a custom list ("Contacts") as well as a web part with forms. I want to take the custom list fields and map them to the web part form. My problem is getting the values from the custom list. I've ...
0
votes
2answers
3k views

What is hidden webpart for in SP2010?

Follow-up questions to Closed vs. Hidden Web Part - what is the difference? : What are possible uses of hiding a web part (having closing) in Sharepoint 2010? why isn't unhiding a webpart in a ...
0
votes
1answer
455 views

Dynamically adding/editing list items in a “new” form of another list?

I'm new to Sharepoint, so I'm looking for some advice on how to tackle a problem I'm having when developing a solution for a client. This is a simplified example: I have two lists: one containing ...
2
votes
2answers
2k views

Closed vs. Hidden Web Part - what is the difference?

What is the difference between "Hidden Web Part" and "Closed Web Pat"? PS. I tried to search on the internet but could only find "deleting vs. closing" web parts Sharepoint 2010 (Sharepoint ...
1
vote
1answer
462 views

How to fetch document name from a document lib into a dropdown

This is my ascx page(Visual WebPart): <asp:DropDownList ID="DropDownList1" runat="server"> </asp:DropDownList> <asp:Button runat="server" ID="btn" onclick="btn_Click" ...
0
votes
1answer
243 views

RS Web parts title doesn't change

After installing the RSwepart that come with SQL server 2008. I noticed that the webpart title doesn't change. After i have tried changing it from Report Explorer to something else. See them here: ...
0
votes
1answer
2k views

Where are the Sharepoint Reporting Services webpart 2010

In SP 2007 there was a RS web part -(RS explorer and RS viewer webpart). And all you need to do is just connect them. But in SP 2010 i can't seem to find a anything similar.I can only see the ...
3
votes
3answers
496 views

jquery projects and visual studio best practices?

Just curious how others are handling their jquery related solutions. It's obviously very easy to add a Content Editor web part with a content link to a source file. That file could have your ...
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 ...
0
votes
2answers
616 views

Benefits of 'native' web part over a Page Viewer web part

I have a number of web 'components' that have been developed or need to be developed that provide simple web functions data input, setting target figures (some permissions based input) data ...
1
vote
2answers
507 views

Icon-based menu that dynamically changes based on permissions

We're trying to create an square grid, icon-based menu that is permission trimmed (certain icons appear based on your specific SP permission group), that dynamically rearranges the icons based on your ...