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
2answers
2k views

How can I send data to a modal popup without using a jquery string?

as a bit of background I am new to Sharepoint development, as well as web programming in general. I've done asp.net programming in the past, but not much javascrip/ajax/jquery. From the (tons...) of ...
0
votes
1answer
184 views

Web Part Properties in different pages

Soo, I created an webpart, and I've added a custom property. The webpart works fine. Now I want to add this webpart in another page also, but with a different property value. The problem is that if ...
-1
votes
1answer
108 views

shrarepoint webpart adding a method in ascx

I need to add a method in ascx which has some parameters and one of parameter is ResolveUrl(Eval("PageAbsoluteURL").ToString()) when i am trying its throwing me error i am attaching the code here ...
0
votes
1answer
421 views

Downloading Via SharePoint 2010

I am creating a Sharepoint2010 webpart page which downloads documents from a webservice (So the documents do not get saved in Sharepoint2010). I have a windows application which does exactly the ...
1
vote
3answers
250 views

Add user control or web part to every page in a site

I want to have a feature which causes the following to happen everytime any page in a site loads. I need to have a web part or user control which adds information about the current user to the page. ...
0
votes
1answer
32 views

Generic customization of Publication Tasks web part

I have a Site Collection of type Enterprise Wiki with multiple subsites - each of which is created by custom code. I have a customized EnterpriseWiki.aspx that contains the UserTasksWebPart - so users ...
0
votes
0answers
85 views

right sided webparts in a div

Is it possible to place the rightsided webparts inside a div with id right? Like this (pipe is a div column): | left nav | left webpart | right webpart | I want to have a div floating to place ...
1
vote
0answers
124 views

XML Viewer Web Part: XML feed requires username and password. How to pass credentials?

I am getting the following error message: "Cannot retrieve the URL specified in the XML Link property. For more assistance, contact your site administrator." I have an xml feed that prompts a ...
1
vote
3answers
1k views

user control losing new values when saving

I have a user control in a web part that pulls data from a SP list and displays it in standard ASP.Net controls. When I save the data, the old values seem to get saved even if I had changed them. I ...
1
vote
2answers
676 views

How to add on event a PeoplePicker Programmatically to a WebPart

I want to add a people picker to my webpart according to an event. To make it simple I want to add it when I click a button. The code would be very simple, like this: protected void ...
0
votes
1answer
1k views

visual basic in sharepoint 2010

I am new to SharePoint. My head in the office told me that if you want to learn SharePoint, you have to learn ASP.Net first because we need to add webparts to the portal. I installed visual ...
1
vote
2answers
708 views

online product catalog

I am looking at building a online product catalog with SharePoint 2010. I have poked around but I cannot seem to find any information, at least with SP2010. Any pointers on where to start? Many ...
0
votes
0answers
426 views

XML Viewer Web part: filter/setting/javascript/jquery to dynamically point to xml file

perhaps this is a silly question, but is there a way to use a filter, or some script, or a setting or something like that, in SP2010 to allow a user to select various xml documents from a library and ...
3
votes
1answer
2k views

Use one filter for multiple sharepoint lists

Can I define one list filter, and connect it to two lists on one web part page? I have two seperate lists on a page, both containing the 'author' column. Now, I want to add a filter to de page, so you ...
1
vote
2answers
68 views

sharepoint 2007 webpart question

I created a user control in visual studio I want to deploy to sharepoint 2007. This is my first one and I created the project using the repository pattern and POCO. Does sharepoint support this type ...
2
votes
2answers
850 views

Can I create Webpart in Java and deploy it to SharePoint 2010?

Can I create Webpart in Java and deploy it to SharePoint 2010? What basics needs?
1
vote
2answers
154 views

Saving changes made in a webpart

I currently have a webpart with a table which loads documents in itself. Every row has a checkbox control in the first cell. (Default: unchecked) I am using a second webpart which has a button. If ...
4
votes
1answer
71 views

Boundaries in diagram with Date as X

I've recently been trying to build a line diagramm webpart with dates as X Problem is: I can't find a way to adjust the boundaries of the diagram which causes it to start in ~1900 At the moment it ...
5
votes
2answers
914 views

How to remove web parts from an unghosted page layout

Background: So I've apparently committed the cardinal sin in SharePoint. I edited a page layout in SharePoint Designer! This of course injected the special SPD meta attributes into the layout which ...
3
votes
1answer
274 views

Should this be a sandboxed solution?

My company outsourced the creation of a SharePoint WebPart for connecting to our cloud service. The WebPart connects to our service by using our REST API. When configuring the WebPart you supply ...
1
vote
3answers
484 views

How to load page load javascript when update progress is over

How to load page load javascript when update progress is over. $(function() { // how to load this after update progress is over } Explanation My Grid inside update panel.. In Grid some of ...
1
vote
2answers
89 views

Search webpart not giving results for subsites

We have a webpart to search documents that is not searching the sub-site of the site where the search webpart is placed Any suggestion on why the webpart does not give results of the documents ...
2
votes
1answer
113 views

SP2010 - Formatted data view web part saved to gallery - get error when dropped on parent site

I have a list on a subsite that I need to feature on the parent site homepage. I created the formatted data view and saved it as a web part in the gallery. I drop it on the homepage but get a "web ...
1
vote
1answer
79 views

webpart not shown correctly on wikipage

I've created a simple webpart to show the weather forecast and I need to put it into a wiki page. The thing is: it works perfectly on a webpart page, but inside a wiki it is shown like it doesn't have ...
5
votes
3answers
134 views

SharePoint Admin and Developer Roles [closed]

Currently in our organization we have a three man SharePoint development team where we do everything other than SharePoint admin. Our organization has development, test, and production servers. We, ...
2
votes
1answer
475 views

Can I edit a custom page Layout to add 3 new zones

I have a custom branding solution which was written before I started at my current client. Now they want their custom page layout modified, by adding 3 adjacent zones next to eachother. This page ...
10
votes
4answers
5k views

How to save variables per user session per page

I am using three webparts. Webpart A creates a value when the user clicks on the button in Webpart A. WebPart B uses this value to create a list with items the user can select. WebPart C uses both ...
1
vote
1answer
1k views

Sharepoint 2010 / Exchange 2010 Single Sign On issue

I have an Exchange 2010 Hosted environment and now I installed new Sharepoint 2010 Farm. My issue is that Outlook Web Parts won't work with Single Sign On and I have to log in twice. First time to ...
1
vote
1answer
85 views

How to prevent Web Parts to lose Web Parts connections

I have 3 webparts which together will create a table with data in it. The webparts work as follows: LoginWP: A user can enter username and password in 2 textfields and then click on a login button. ...
0
votes
1answer
54 views

Smart MySites(My Sites) 2010 Design for Page Real Estate

Some Qustions about SP 2010 My Sites. We have a potential 20,000+ user farm. There are some very big groups that are interested in My Sites. These groups want to promote things on user mysites and ...
1
vote
1answer
3k views

Programmatically to list the groups of the current user in a web form sharepoint 2010 foundation

How me in web form to list the groups the current user checkboxes to select one or more groups? What would then set the permission to a document on the basis of chosen groups? I'm doing it right: ...
0
votes
1answer
45 views

Content Query Crazy behavior

I have a custom webpart that works like a carrousel, just showing images... im having problems because when the site is acessed via https the images just dont show... the images are not hardcoded, ...
0
votes
1answer
336 views

How can I add a webpart to a page automatically when page is created?

I have a number of visual webparts and I'm looking to add these automatically to a page whenever that page gets created. Is it best to add this to the page layout in a webpartzone? I have tried ...
1
vote
5answers
813 views

Enhanced rich text and Web Parts

In SharePoint 2010, when using SharePoint list and column type "multiple line of text" with Enhanced Rich Text option (which allows inserting images, html code etc.), how can I enable to allow ...
1
vote
1answer
133 views

Consumer Web Part does not responds to changes in Provider Web Part

I am currently using 3 web parts which are connected (webpart A connected to B, B connected to C). The problem lays in the connection between B and C. Webpart B is a provider and a consumer and only ...
8
votes
3answers
15k views

How to have two web parts side by side in same zone

I have two web parts that i want to fit side by side in the same zone, however, I'm not sure how to go about this. I've modified the width of the individual web parts to be able to fit side by side ...
4
votes
3answers
644 views

How to add webpart to blog post?

The idea is to use SharePoint Blog site as news site. Every new post has it's own pictures which users must see. I found a great webpart (Mirata Picture Gallery) for displaying images from Photos ...
1
vote
2answers
258 views

How to create a custom SPList without saving it on the SPSite

I am trying to create a webpart which loads document information from a different application. I want this information loaded into a list which looks like a SharePoint list. I was able to create a ...
0
votes
1answer
151 views

TelerikRADEditor web part error

I have migrated from SP 2007 to SP 2010 and have some error webparts with content I need to keep. I would like to move the content into a OOTB Content Editor Web Part as a part of my SharePoint 2007 - ...
2
votes
1answer
83 views

Webpart not updating for Read only users

I have a SharePoint page with Two webparts, one of them is a list displaying the previous months, the other is a xsl webpart that displays the news of the selected month using the url. (like ...
1
vote
1answer
529 views

aspx page in module and ghosted web parts

I am making a webtemplate. This webtemplate activates a hidden feature which contains a module, deploying the default.aspx page. The module looks like this: <?xml version="1.0" ...
1
vote
1answer
585 views

Change default chrome to TitleAndBorder on standard sharepoint web parts

Is there a way to change default chrome on standard web parts in sharepoint to "title and boarders" ? I know how to change the chrome in a standard web part, but how can I set it as default when ...
1
vote
1answer
269 views

How to get Unique ID for SharePoint Web-part?

I need to save some web-part specific data to database. how can i get unique ID for specific web part? I need something that will be static even if server will be stopped and running again.
2
votes
1answer
992 views

Refresh webpart when New item is added

I would like a script for Refreshing a webpart when a new item is added to te list. Can anyone help me with this? Kind regards, Vincent van den Eijnde SharepointServices.nl
1
vote
0answers
293 views

Setting Custom Property of SharePoint WP readonly

How to set the custom property(bool) of sharepoint 2010 custom webpart as read Only based on a condition?
0
votes
1answer
96 views

Including dependent dlls in web part

I have a C# dll that is a wrapped C++ dll which has multiple dependencies. I have tested the new C# dll in a project and the dll works properly. I now need to use the C# dll in a custom web part. I ...
1
vote
0answers
164 views

Choice Filter list based on User Group

I have two List web parts being filtered based on a connected Choice Filter web part. I would like the choices available in the filter web part to be the members of a SharePoint user group. For now, I ...
0
votes
1answer
108 views

Change Language in ModalDialog without reload

I´ve got the following issue: I want to change the Language of a .aspx Page, the NewForm.aspx. Therefor I created a WebPart which was added to the NewForm. <div> <a href="" ...
2
votes
1answer
2k views

Adding List View Web part by Powershell and via GUI hasn't same View

Following is a part of my Powershell Script which creates a Discussion Board List and tries to add it to a default.aspx page. the problem is when I add default view to the code (marked as *) it ...
1
vote
2answers
182 views

Wikipages empty after restore from backup

We run our intranet on SharePoint 2010. We have several web applications and we use DocAve 5 to backup the content of our intranet. After a user reported that he had erroneously deleted a wiki page ...