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
3answers
1k views

Body column is not visible on Announcements web part

We use WSS 3.0 to host our portal. I created a new site on my Staging Server using the Blank Template and added an Announcements list, then put the Announcements Web Part on the home page. The Body ...
0
votes
2answers
508 views

Error Handling Strategy for Sandboxed SharePoint Solutions

I am looking to develop an error handling strategy for a SharePoint solution that makes use of sandboxed webparts. I was initially looking at a general exception handling approach based on this ...
0
votes
2answers
551 views

Customising the edit web part dialog

Is it possible to customise the edit dialogue window that is opened when editing a web part? Customised with regards to appearance, what fields are exposed etc.
0
votes
1answer
141 views

Add web part property to all SharePoint Web Parts

Is there a way to add a web part property to every web part (SharePoint 2010), including OOTB web parts. Essentially I want to add a header color option to the appearance section of the web part tool ...
2
votes
1answer
2k views

How to add a webpart to 2nd “Top” Zone of a Webpart Page Programmatically

I Have a webpart page, which has layout as shown in picture, Now I want to add a webpart to second "Top" zone of my page but I dont know how to access it, If I want to add it to first top zone I ...
2
votes
1answer
346 views

Enumerating picture library images from folders created by non-administrators fails

We've created a slide show webpart in sharepoint 2010. Site authors can choose a folder (or subfolder) from any picture library located on the root site. The webpart will enumerate and display images ...
0
votes
1answer
74 views

How to insert picture into special part of word?

I have a picture of internet . I want save it in special part of word . I find special part with this code . XNamespace w = ...
1
vote
2answers
590 views

Click Event on a HyperLink in a webpart

Trying to add a click event to a hyperlink, but couldn't find any way except people using this code of line with some javascript, HyperLink link = new HyperLink(); ...
3
votes
5answers
706 views

Automatically add tag to uploaded document in sharepoint

My environment is sharepoint 2010 and vs 2010. I already have an OOTB document library that I am using and I wanted to know how I can add a tag or keyword to a METADATA column. I am using the same ...
0
votes
3answers
449 views

Access Denied for SPUserCollection.remove()

Works for administrator but not working for a normal user. I even tried it with "SPSecurity.RunWithElevatedPrivileges(delegate() {});" after breaking RoleInheritance, and even tried ...
0
votes
2answers
224 views

Library Tools Options Not Clickable

I have come across this issue a couple of times now, when i go into the web parts page under site settings, i cant click on the documents or Library tabs under Library tools. I want to get into these ...
0
votes
1answer
174 views

Render web-part insinde control

Is it possible to render a web-part inside of a control? I have a webpart with a certain functionality which I want to re-use on a different page-layout directly. The first idea would be to extract ...
1
vote
1answer
113 views

How do fix height of row in SPGridview?(do't wrap row)

I have a Spgridview. I created columns in page-load . When bind it, the height of row is different. Its height varies based on the content within it. How do fix it?
0
votes
4answers
2k views

Options for changing web part headers. Multiple colors on one page

I have a requirement for allowing the users to select the web part header colors on a page. For example the home page of a site has an Announcements Web Part a Links Web Part, and a Calendar Web Part. ...
1
vote
1answer
220 views

How to set XSL property on inherited core search results webpart

I have created a custom Search results web part by inheriting from coreresultswebpart. I would like to override the default XSL with some modified XSL in my project instead of having to set the XSL ...
2
votes
2answers
1k views

Custom webpart to set and get Property per user (PersonalizationScope.User)

I am trying to create a custom webpart in point to set and get a property per user on page. To change the background and save it per user. I'm using code like this: public static string ...
2
votes
2answers
3k views

How do find web config file of Claims Based authentication?

I want Configuring claims and forms based authentication for use with an LDAP provider in SharePoint 2010. I change webcomfig file of : 1.Adjust the web.config of the Central Administration site ...
1
vote
1answer
60 views

Webpart updating event

is their a way to listen if a webpart has been updated. like a event reciver. i could not find anything about it, perhaps if i added a itemupdated event, for pages that have been edited when the ...
2
votes
1answer
933 views

Sharepoint 2010 web part resize image to multiple sizes

Does anyone know of a Web Part for SharePoint 2010 that will allow you to upload an image and have it re-sized to multiple different sizes?
2
votes
1answer
226 views

Listview in a webpart: popup only appear once

The problem I am having a problem, with a Listview that gets included in a Webpart. When I am trying to make a, action on a list item, I get the dropdown. If I let et close and try to open it again ...
0
votes
3answers
2k views

What set for ASP.NET Membership provider name in forms based authentication?

I want created a custom login page . I set Claims Based Authentication my site . When i Enable Forms Based Authentication (FBA) , what value set for : ASP.NET Membership provider name ASP.NET Role ...
1
vote
1answer
756 views

Creating and Deploying a Custom Login Page for SharePoint 2010

I want created a custom login page . I use this link for created custom login . But when i build the solution,don't create a folder inside .\Microsoft Shared\web server ...
3
votes
1answer
544 views

How do modify active directory user properties?

I use this code for find users in AD SearchResultCollection results = null; try { SPSecurity.RunWithElevatedPrivileges(delegate() { ...
0
votes
2answers
1k views

Forbidden - 403 error when accessing a page containing a visual web part

I have restored my SharePoint 2010 site to a new web application. My site collection has two visual web parts on two different pages. I have 10 users who access my site. After restoring my site to a ...
0
votes
1answer
1k views

Changing all webpart's Zone ID on a Page programmatically

I Want to add all the webparts already exists on a Page with different zoneIDs into "Top" zone using c#. I know i can use this code of line SPLimitedWebPartManager wpManger = ...
2
votes
3answers
673 views

Can a web part prevent master page jQuery from executing properly?

I'm including jQuery and a custom .js file into the master page of my SharePoint 2010 site. In the $(document).ready() function, I'm setting a live event handler on an element in the header of the ...
2
votes
0answers
121 views

OWA webpart view

I added owa webpart in 2010 but I want the view to look like following like we had in sp 2003. How is it possible as there are no configuration for it in web-part? Please suggest. 2003 look 2010 ...
4
votes
2answers
3k views

Provision XSLTListViewWebPart with <AllUsersWebPart> or <View> and customize the XslLink

I've created some custom List Definitions (aka List Templates) and am provisioning List Instances of them into my site. I am then provisioning Pages (Wiki/WebPartPages) that refer to the lists/views ...
0
votes
2answers
394 views

Updating Custom XML property of a webpart while adding it to a webpage

I followed this tutorial to make a tabzone webpart. if I want to manually add it to a page it works perfectly, but if I try to add it programmatically, it gives me out of index exception, which is ...
0
votes
1answer
629 views

Specify character encoding in webpart

really simple: I have a visual webpart with danish letters (æøå) which is malformed when deployed - most likely as a result of the wrong characterset encoding. How would I go about specifying this in ...
0
votes
2answers
1k views

How to get custom action to a SharePoint list actions menu for a specific list or content type?

I add custom action to a sharepoint list actios menu for all list . I want get custom actions that define for a special list in VS. How to get custom action ?
0
votes
1answer
685 views

Using search web-part to search a custom list's topic questions

How can I use the search web part to look through a custom list and display the relevant topics from that list to the user?
0
votes
2answers
140 views

lost reference to all webparts after site creation using template

I have taken backup of http://mysite:300/ site and restored it in some other server say http://newserver:300/. when I have created subsite using template already exist, site creation is successfull ...
0
votes
3answers
221 views

Web part giving 401 on public facing site

I have created a Blog in my site and change its layout. I'm using a webpart which is giving 401 error on public facing site. My Code is: public void CustomBlogLayout() { SPSite thisSite = ...
1
vote
1answer
1k views

AJAX in Sharepoint 2010 Web Parts

I want to use HighCharts in Sharepoint Web Parts. So, I put necessary JS files in 14 hive folder and everything works fine. This is my ScriptLink Tag: <SharePoint:ScriptLink ID="ScriptLink1" ...
0
votes
1answer
194 views

Dynamic web part sourced from another web part.

We have a webpart (webpartA) which is updated manually, and we have another webpart (webpartB). What I want to have is, when webpartA is updated, I want webpartB to be updated automatically. Is there ...
1
vote
1answer
429 views

How to insert picture into your Word document?

I have a Document Library with column type Hyperlink or Picture (Signature). How to insert (Signature) into your Word document? I find this link for insert Picture into word. I problem is : How do ...
0
votes
1answer
80 views

Auto Insert new field into SP List on page PostBack

I've just created a new webpart. I'm a beginning on Sp Word. I built a new WP the get some data from textBox and put it into a content list. But every time I do Refresh a new void item is inserted ...
0
votes
2answers
268 views

increase List threshold or Custom Filter?

I have a list over 200,000 items in it. It's on normal threshold (2,000 items per view). Users want large threshold but there is price for that. SQL traveling/transaction, server overhead and the ...
2
votes
1answer
639 views

Can't save webpart after editing with PowerShell

I'm using the code below to edit the image in a webpart: $webPartCollection = $web.GetWebPartCollection("default.aspx","Shared") $imagePart = $webPartCollection | Where-Object { $_.Title -eq "Site ...
0
votes
1answer
426 views

bind item id to custom webpart in dispform.aspx

I've created a custom webpart that shows me some details of a dossier. I've added a DossierID property like this: public Guid DossierId { get; set; } This identifies the dossier from which I want ...
0
votes
1answer
112 views

People Search on root site

I am trying to get people search setup on our root site, but i'm not sure how to link the people search box webpart to the People search core results web part on the same page. When I drop both parts ...
1
vote
2answers
1k views

Adding url to the hyperlink field in SpGridView

I have a dynamic Spgridview. I add column in page load. I use this code for add Hyperlinkfield in SPFieldType.URL : string[] url = new string[1]; url[0] = field.InternalName; HyperLinkField link = ...
2
votes
1answer
194 views

How can replace the XsltListViewWebPart with a new WebPart?

The list view web part are used by SharePoint to list and library data. When a new list is created, the web part for the list is also created automatically.List view web parts can show one view at a ...
3
votes
5answers
13k views

How do I Modify Contents of a WSP File?

I've been provided a WSP file that contains a webpart created by another developer. I have been requested to make modifications to the webpart and repackage as a WSP file again. What steps must be ...
2
votes
1answer
5k views

Creating a searchable FAQ section in sharepoint 2010

How can i create a FAQ section that I can use a basic search web part to search through the FAQ and display the most relevant results. I am new to sharepoint and need some guidance, thanks.
0
votes
1answer
64 views

web part view without the selection button

I am trying get a look and feel like central admin resource list view wp. I created exactly same type list and populated. But my list view does not have bullets and when I hover over the link it gives ...
0
votes
3answers
3k views

Register and run javascript on load in a sandboxed webpart

Got a placed called 'SiteAssets/test.js' with the function test(). I've created a nonvisual webpart, would like the script via the cs file and then run the function during the loading of the webpart. ...
0
votes
1answer
1k views

How do I update/refresh a web part using an AJAX Update panel every 5 or 10 minutes?

I have a news and announcement web part that I would liek to refresh every 5 or 10 minutes so users get the latest information. I have a bunch of asp controls within an update panel's contenttemplate. ...
0
votes
3answers
2k views

SPContext.Current.Web.CurrentUser returns wrong user

This is a repeat of a similar question which was never answered so I wanted to give it a fresh start. In fact it looks like some SPDoctor closed it with very odd comments. Anyway; I have a web part ...