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

Sharepoint Custom WebPart 2007- Target Audience Missing

I have created a site in SP 2007 and its of type Teamsite. I have created a webpart and I want it to target for a group and unfortunately I cannot see target Audience Text box for that Webpart, What ...
0
votes
1answer
220 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 ...
6
votes
2answers
400 views

Weekly update from the boss

I am a site owner for a military unit (we are going heavily to SharePoint.) We have SharePoint 2007 installed, and have no flexibility to add more web parts. We also have limited ability to ...
0
votes
1answer
134 views

Link with QueryString

I have a webpart page with a Query String Filter. That works fine, but I also need some links on the web part page that uses the querystring. Any ideas? Update: Sorry for bad explanation. On the web ...
2
votes
4answers
3k views

How to Show the default loading message while calling postback event.

I am using Update panel in my custom webpart. I need to show the default sharepoint 2010 Loading message when user click on button and postback event fires.
1
vote
1answer
396 views

Add Drop Down List to Change Results Per Page for Search Core Results

Does anyone have an example of how to add a drop down list to the search core results web part to change the number of results?
0
votes
2answers
165 views

Migrate SharePoint 2010 to SharePoint 2007 or WSS3

May I know if it is possible to migrate (or downgrade) from SharePoint 2010 to SharePoint 2007 or WSS3 and what are the steps in going thru this? (This is because some of our web part only support ...
2
votes
1answer
238 views

Asynchronously load a Sandboxed Web Part

I'm wondering if there is an way to load custom Sandboxed Web Parts asynchronously. I have done this earlier with ScriptManager, I understand that this not possible with Sandboxed solutions. And these ...
6
votes
1answer
409 views

Multicast playing of video inside SharePoint

If I use the Flow Player (http://flowplayer.org/) to play videos (which is stored on a network storage) using the Content Editor Web Part in SharePoint 2007, will the videos operate in a multicast way ...
0
votes
1answer
530 views

creating advance custom property for a web part in sharepoint 2010

so far i able to create a custom property with with single control something like this: string _property1; public string Property2 { get { return _property2; } set ...
2
votes
2answers
4k views

UpdatePanel with SharePoint 2010 web part

UPDATE protected override void CreateChildControls() { if (!this._error) { try { base.CreateChildControls(); ...
1
vote
3answers
2k views

Access WebPart from a different site inside same site collection

How do you access a webpart that lives on a page in a different site? For example, I have http://foo.com/ and http://foo.com/blog. How can I access a webpart on the blog site from the foo.com site?
5
votes
1answer
444 views

Tooltip showing latest pictures inside a Picture Library for SharePoint 2007

Inside a SharePoint Document List, I keep a few folders - Folder A, Folder B, Folder C. Each folder have some pictures inside them. May I know if there are any web part that can help me display at ...
0
votes
2answers
363 views

SharePoint 2010 - WebPart editor part definition

I am creating custom web part editor part. I have created a text box which should only allow integer values. If non integer value is filled in , after clicking on "Apply" , error message is displayed ...
2
votes
1answer
619 views

Easy way to add a custom web part property to a web part?

I'm creating a web part using Visual Studio 2008 for SharePoint 2007. If I'm creating the web part from scratch, I typically don't have any properties defined yet in my code. I've found that it is ...
0
votes
1answer
136 views

Can't add Claims Web Part

I have successfully managed to make sharepoint web application claims-aware and connect it to my custom STS. Then I wanted to view claims user has after logging in. I got Claims Web Part from Claims ...
0
votes
1answer
523 views

Add a JS file as embedded resource in a web part in VS2010

I am trying to add resources JS files, images, CSS files as embedded resources to my custom web part, I am writing in VS2010. I have set the properties of these files as "Embedded Resources", but I am ...
0
votes
0answers
75 views

how to validate custom web part property? [duplicate]

Possible Duplicate: How to validate Web Part property value? below is a custom prop and a code that i am using for my custom web part, my question is, how to validate a custom web part and ...
0
votes
1answer
217 views

how to have a hyperlink in custom web part property

i am working on a custom web part property and my question is how can i have hyper-link(seen in the below image) or bold or italic text in the custom property for the web part?
4
votes
2answers
406 views

Is there a “Who Follows me” Web Part?

I need a WebPart similar to Colleagues WebPart, but to return which users have added me as a Colleague. Does it already exist? Or, how can I develop it? I'm using SharePoint 2010.
0
votes
1answer
157 views

Prevent editors from inserting web parts

Is it possible to restrict editors from inserting web parts anywhere on a SharePoint 2010 publishing page? This article talks about disabling it for certain parts of the page or hiding the Ribbon ...
0
votes
1answer
257 views

Calendar to enable end-user entry

We have a department that needs a rich calendar control: It will display a month layout, with each day being clickable. When a day is clicked, a popup would allow someone to select a two-hour time ...
1
vote
1answer
239 views

How to remove the calendar's default fields using C# code

I am creating a calendar list using code and I am adding my own columns to it. When I click "+Add" link to create a new calendar item I am able to view the custom fields along with the default ...
0
votes
1answer
72 views

Unable to create list using ApplicationPage.aspx

I intend to create list using code. So I used an empty SharePoint project and in that I used the ApplicationPage.aspx. In that I wrote the following code: using(SPSite siteColl=new ...
1
vote
0answers
201 views

WebPart Error after Upgrade to SP1 & June Cumulative update

I am getting following error after I did an update to SP1 Web Part Error: Access denied. You do not have permission to perform this action or access this resource. The above error crops up ...
0
votes
1answer
294 views

Extending WebParts or using Client side script: Best way?

I currently have a "Dashboard" full of CEWPs and DFWPs. It is required that the user can see the last update DateTime for each web part, which I would define as the greatest Modified DateTime of the ...
0
votes
2answers
133 views

PageViewerWebPart strange behaviour

i have a custom prop for ContentLink for PageViewerWebPart and the strange thing is that, if i enter www.yahoo.com i get this below error: The following file(s) have been blocked by the ...
0
votes
1answer
379 views

Validating web part custom property with ajax enabled?

i am using web farm solution and i have implemented few custom properties and my question is, is there a way i can enabled AJAX? when the user enter the bad name i validate in the prop and display ...
2
votes
5answers
234 views

Getting twitter updates into sharepoint

I would like to get the twitter updates from a user account onto my SharePoint site. Please suggest me how to use that functionality.
1
vote
0answers
89 views

Why is the ConnectionInterface object in my custom consumer web part null?

I connected two web parts using a Provider web part, an IConnectionInterface and a Consumer web part. After adding both web parts to my site, the consumer webpart is unable to receive the parameter: ...
0
votes
1answer
198 views

how to render my custom web-part as soon as i insert on the page?

i have created a web-part that user will define the url to render and after user insert the web part on the page it did not renders, user have to edit and enter the url and click apply or ok button in ...
1
vote
0answers
497 views

How do I make the XML Viewer web part ignore a Doctype element?

I have an issue with a SharePoint 2010 xml viewer webpart and an xml feed that contains DOCTYPE. The xml renders fine when there is no associated XSL with the webpart. When I add XSL to the webpart I ...
1
vote
2answers
3k views

How to Remove/Delete a custom web part from SP2010

how to i remove/delete web-part from SP 2010 i tried the below command and it does says operation complted successfully but it still shows up in the custom web part bucket when adding webparts... ...
0
votes
1answer
214 views

how to use SharePoint 2010 web-part - after deployed?

i execute this command on power shell Add-SPSolution C:\Deployment\MyFristWebPart.wsp after execute i get this result: Name SolutionId Deployed ...
0
votes
1answer
2k views

how to deploy custom webpart from one server to another (sharepoint 2010)

Update1: PS C:\> Add-SPSolution c:\Deployment\MyFirstWebPart.wsp Install -SPSolution -Identity NameOfWSP -WebApplication http://sp2010 -GACDeployment Add-SPSolution : A positional parameter cannot ...
1
vote
4answers
2k views

An auction site in SharePoint

I would like to create some sort of auction site in SharePoint. It does not have to be a fantastic one, it has to provide service to +/- 800 employees. It does not actually have to have auctions with ...
0
votes
3answers
571 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 ...
1
vote
3answers
511 views

passing the sharepoint site name - dynamic or in web.config?

i am looking for a way to easily interchangeable the SPSite name and currently i have hard-coded as you can see below... so what is the best way to deal with this issue, i have DEV/QA/PROD box and i ...
0
votes
1answer
168 views

Creating a web part to manipulate List Data bypassing List and ListItem security

I have a Tasks List and I need to create a Web Part to display one view of that list (with a functionality similar to a List View Web Part: item viewing, editing, sorting, filtering, etc). However, ...
0
votes
2answers
1k views

Customizing Web Parts - Hiding property in edit mode?

Update: private string _catalogIconImageUrl = "http://hostname/images/favicon.ico"; [WebBrowsableAttribute(false), Category("HIDDEN"), Personalizable(PersonalizationScope.User), ...
0
votes
1answer
127 views

Add Sharepoint's auto-generated web part for List Instances to a page programmatically

When I create a List Instance in Sharepoint, it allows me to add a view of that List as a Web Part, via the UI. Example: How can I add this web part programmatically via the SPWebPartManager ? (I ...
2
votes
1answer
1k views

SharePoint 2010 - Add WebPart reference to PowerShell script

I want to add a new developed WebPart to a SharePoint site with PowerShell. How it is possible to add the WebPart reference from my WebPart to the PowerShell script? $web = Get-SPWeb $urlWeb ...
1
vote
3answers
522 views

Error occurred in deployment step 'Recycle IIS Application Pool': Microsoft .NET Framework 3.5 SP1

I recently installed Sharepoint 2010 Foundation on my windows 7 machine, this itself took a while but appears to be ok, ie create sites, libs etc etc. I'm now trying to create a simple webpart which ...
1
vote
2answers
3k views

how to add image to SP 2010 WebPart

UPDATE: i want to do that in all in code-behind and i know you can do that in feature.xml but i am not sure how exactly. I am creating a custom web part and i am looking for a way to have my logo ...
1
vote
3answers
694 views

sharepoint 2007 wiki customization

I have been asked to customize a SharePoint 2007 wiki site into a 'Wikipedia' like interface and functionality. After a bit of goggling it turns out that wiki's are not that readily customizable!! ...
3
votes
6answers
815 views

Security around Web Parts

I have been looking to wrap security around web parts. I already have security wrapped around documents so only the correct people see the allowed documents. The problem lies when a user does not ...
1
vote
2answers
1k views

Ribbon not available for list item in dynamically created XsltListViewWebPart

The situation is the following. I'm creating an XsltListViewWebPart during the Page LifeCycle which is added to the page Controls collection (or UserControl Controls collection). The ...
3
votes
1answer
2k views

How to import external javascript in a User Control?

I have a code-behind User Control (myUserControl.ascx and myUserControl.ascx.cs) that are in ControlTemplates/MyFolder/ and, in the code of myUserControl.ascx I need to use some javascript ...
3
votes
1answer
2k views

ListView Web part - customization

I created and deployed link list (default template (103)) from code and after that I added ListViewWebPart also from code which looks on default view of my link list. And that works. Problem: How can ...
9
votes
3answers
2k views

How to localize webpart title, description, group, quickadd group in Sandbox solution

I've seen other similar questions (like this one), checked Microsoft documentation (like all the ones stemming from and related to the page Localization of Sandboxed Solutions in SharePoint 2010), ...