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 proper library inclusion.

learn more… | top users | synonyms (3)

0
votes
1answer
342 views

Create a feature receiver that adds the calendar webpart to the homepage?

I need to put the webpart calendar in a specific SharePoint 2010 site, but we need to do it by code. The calendar must be shown on the main zone. How can I add the web-part with C# code?
0
votes
2answers
239 views

Silverlight Map web part

I'm trying to set up a simple Bing Map web part that would pull list items to populate the map with pins. I was able to get a static data pull (created objects to populate pins), but once I tacked in ...
2
votes
3answers
707 views

Find version number of a webpart

There is a requirement to get the version number of another web part in a page to be displayed programmatically. We get details of the web part including the version number in the web part gallery as ...
0
votes
1answer
291 views

Will there be any changes to Web Parts in SharePoint 15?

I’ve search the web, as I usually do, but I does not find any useful information. Maybe it’s way too early to know of any specifics yet, but if anyone has any info on the question – please let me ...
0
votes
1answer
997 views

Add WebPart to page and lock it down (except for editing)

I'm building out some features for a publishing portal for a client, and I have a requirement to place a Content Editor Webpart on a page and prevent users from deleting, closing, hiding, or moving ...
0
votes
1answer
92 views

How to dynamically change the WebDescriptionAttribute of a web part?

I have a web part with a WebDescription attribute that contains a description of the web part. E.g. [ Category("Configuration"), Personalizable(PersonalizationScope.Shared), ...
1
vote
1answer
812 views

Possible to use createNewDocumentWithRedirect to redirect to a web based Infopath form?

We create a link to a InfoPath client-based form (meaning that the form is open at the client machine which have infopath installed.) by using the following source code inside a Content Editor web ...
1
vote
1answer
739 views

How to be able to edit CQWP added to custom page in VS2010?

I deploy a custom welcome page for a site and on the page I have a content query web part. The problem I have is that I can't edit the web part once deployed. If I go edit page -> I can select the web ...
0
votes
1answer
315 views

Inserted Webpart on Page Edit does not save

Inserting any webpart on page edit (I'm a farm administrator) shows popup dialog goes through motions (loading message behind modal) no error in ULS and does not actually place the webpart into the ...
0
votes
1answer
148 views

How to get user specfic details (like webpart, calendars etc) on homepage of the site?

We are running a NGO, which has some 30+ centers. And each center will have its own page or site which will be 30 in all. I want a solution where lists are visible depending upon which user from ...
2
votes
2answers
2k views

Moving web part zone from the bottom to the right in wiki pages [duplicate]

I have a Wiki pages that I need to add a Web Part to. When I go to Site Actions, Edit Page and scroll to the bottom of the Wiki page I can click Add a Web Part and go through the process to get this ...
1
vote
3answers
495 views

AssemblyVersion(“1.0.*”) and Web Parts?

I need two things out of an assembly I'm developing, and they seem to be at odds: Bake the compile time into the version number Offer a web part that won't go stale every time I deploy I'm using ...
1
vote
0answers
34 views

In SharePoint 2007 How To Add WebPart into Review Of Every Wiki Page

I want to add default webpart for every wiki pages review. Currently I need to add webpart for every newly created wiki page. Is there any Solution to solve this. Thanks.
0
votes
1answer
2k views

How do insert HTML into word document?

I have a webpart . I insert InputFormTextBox into webpart. I want save InputFormTextBox.text into word file with formating. How do insert HTML into word document?
0
votes
2answers
924 views

Page viewer webpart, applying style sheets?

Can i apply css style sheet to a page viewer webpart ?
1
vote
2answers
1k views

Hide selection in webpart - .ms-WPHeaderTdSelection {display:none}

Hiding the selection is not working. <style type="text/css"> .ms-WPHeaderTdSelection {display:none} </style> Here is the working code: <style> /*--------Hide the ...
2
votes
1answer
569 views

How to download a dynamically generated file without blocking the page ?

In one of my webpart I have a feature to generate a file dynamically depending on what the users choosed in the view. On my OnClick event handler, I have this code : protected void ...
1
vote
3answers
605 views

Is there a way to have the tool part pane open where the WebPart zone is located?

If you're dealing with a page with many many vertical WebPartZones & WebParts, is there any way to have the ToolPart Pane open next to the WebPart you are editing? Or move up as you scroll up and ...
0
votes
1answer
163 views

Is there a way to set permissions so that a content editor part can be edited but not removed from the page?

I have a client scenario in which users need to be able to edit content within a content editor web part placed on a page via site template, but they need to be prevented from removing the web part ...
3
votes
1answer
450 views

Creating a custom Filter Webpart in SandBox? How-To?

Since a little while now I've been trying to create a custom filter webpart in Sandbox. So far, it seems that all the usual ways to create a custom filter webpart programatically ina farm solution are ...
3
votes
5answers
2k views

Delete a WebPart from Web Part Gallery

I am trying to delete a Web Part from WebPart gallery but I don't see it there. The Web Part is available in the list when I try to add a Web Part in the page. This is the first time I am facing this ...
0
votes
1answer
73 views

can webpart connections use parameters with less than and greater than - SP 2010

Is there a i can use webpart connections(parameters) in SP designer 2010 like this stardateparam <= paramdate => enddate param or i would have to use Querystring params? Also does the date have to ...
0
votes
1answer
1k views

How Do I Get the MySite Images and Full Name of the MySite owner in MOSS 2007 in C#

I am building a simple web part that needs the image that is used from the MySite and the First and Last name of the site owner. I know how to get the current user, I need the name. I am also having ...
0
votes
2answers
3k views

Editing OOB “Add Comment” Post Webpart

I've gotten pretty good at editing OOB XSLT List View parts, but there's one section I'm not really sure how to edit. In my blog, I enabled comments. However, I think the default "Add Comment" web ...
1
vote
1answer
2k views

Use HTML Form WP to post to a new window

We need to post to a search web application and have it display the results in a new window. Can the SharePoint 2010 HTML Form Web Part do this? Any examples? Thanks.
1
vote
2answers
743 views

Disable horizontal scrolling in WebPart

From codebehind I add to my webpart controls _grid=new SPGridView() HtmlGenericControl div = new HtmlGenericControl("div"); div.Attributes.Add("id", "div-datagrid"); ...
0
votes
2answers
3k views

how to add ascx inside another ascx and used in sharepoint visual webpart

I created user control1.ascx and put in controls template folder then add visual webpart in the visual webpart ascx control1.ascx i registered in visual webpart ascx control and the deployee but ...
0
votes
2answers
594 views

SharePoint 2007 - Cannot Find Web Part Page

Situation: Using stsadm -o enumallwebs -includewebparts returns a list of webparts. One of which I want to remove across the entire site. Issue: Using the GUID I can find the webpart Page ID, and ...
1
vote
3answers
1k views

How to create a Connectable Web Part on sharePoint

Is it possible to create a custom connectable web part that passes information to a DataView out-of-the-box SharePoint webpart? I'm not interested in creating a consumer and provider web part as I ...
0
votes
3answers
433 views

Creating a CSS web part? (hiding the right column on certain pages)

We have a site that is three columns wide. On just a handful of pages (maybe 10 out of 300) we'd like for the right column to be hidden, and the main content area to stretch over that. It's literally ...
0
votes
1answer
1k views

How to start a workflow from events within a custom webpart

I would like to add workflow to my webpart. Whenever items added or removed from webparts my workflow needs to be started. I am not sure what my web part will have - it can have any items like list, ...
1
vote
1answer
345 views

Customize “Reset Page Content” confirm message?

The user sees this message when they "Reset Page Content": You are about to reset all personalized Web Parts to their shared values and delete any private Web Parts. Click OK to complete this ...
2
votes
1answer
657 views

How to find the localized name of the Web Part Gallery

I have learned (still a SP-Noob...) that I have to take care of removing webParts that I deployed as part fo a solution myself. Now I have coded something like string file = "MyWebPart.webpart"; ...
0
votes
1answer
688 views

How can I close this web part using Javascript?

I'm trying on my site's homepage to close a web part programmatically using Javascript. The code fires, but the web part doesn't close. How can I close the web part programmatically? var ...
0
votes
2answers
90 views

Why does the GUID show in my Column information when using spgridview?

I am using spgridview to collect document information from multiple document libraries in my SharePoint 2010 publishing site. When the column information is displayed, it seems that a GUID or ...
0
votes
1answer
815 views

Unexpected System.InvalidOperationException: The Visible property cannot be set on Web Part

I am trying to find the cause of the problem described in my previous question where controls on UpdatePanels are not functioning properly. Strangely, this is only happening on intranet clients ...
1
vote
3answers
357 views

Apply Web Part Connections to web parts on the ascx page of other web parts

I have created a visual web part that combines two other previously created web parts into one nicely styled web part. This is done simply by adding Register tags to the ascx page of the web part, and ...
0
votes
4answers
1k views

Web Part Inside ASCX Page

Is it possible to include multiple web part in ASCX page. My ASCX page is very simple and it only includes tabbed navigations, inside those tabs I would like to embed web parts. Code below does not ...
1
vote
1answer
73 views

Editing The TSWebPart

I have got the WebAccessPart working in Sharepoint as a way for out users to run our business apps. I would like to be able to set the value of both check boxes to be true by default (the optimize lan ...
1
vote
1answer
2k views

How do I Retrieve the choice values of a column in a Document Library

I am fairly new to SharePoint development and as you may all know that it is very basic for one to know how to access fields in a choice column... My problem: I want to access the values of the ...
0
votes
1answer
3k views

can't edit webparts

I add web part to a page, chose edit this webpart on popup menu and in editor zone click "ok" but nothing happend. it seems that ok button is completely dead. thanks for your advice.
0
votes
2answers
460 views

SelectedIndexChanged to be handled by button click

SharePoint Webpart (not visial webpart) VB.net (2010) I have list box that the user choose an item the click the button. The button will take the selectemitem.text and and create the output. in VB ...
1
vote
2answers
1k views

This powershell runs but why is it so slow

I ran this powershell which automates wsp addition, activate, deploy web parts and it runs fine. However, it takes about 3 minutes to go through the whole process. Is this norm? = = = powershell code ...
1
vote
4answers
5k views

Can a multiple value “lookup” column be displayed as checkboxes in a SharePoint List?

I have one list to store information about people, and another list storing a list of tasks each person should achieve. I'm trying to create a SharePoint view which allows users to enter/modify ...
0
votes
1answer
191 views

Removing HTML from the text in filtering SPGridView

I have a WebPart, bulding a SPGridView control with filtering. I use this code for filtering: grid.AllowFiltering = true; grid.FilterDataFields = ",Name,Region,Total Sales"; ...
1
vote
2answers
119 views

SharePoint 2010 - Attributes are not sticking

I am developing a Visual Web Part. I have attributes the Visual Web Part consumes. When i use these, I have to re-set the value everytime I re-deploy the web part (by hitting F5). Here is an ...
3
votes
3answers
301 views

Can I use EntityFramework and sql azure with Sharepoint Online?

I would like to connect to an entity model from a sandboxed webpart in sharepoint online. Is this possible? Is it possible to connect to sql azure from a sandboxed webpart?
1
vote
1answer
404 views

Copying a web part to /all/ pages?

I've created a right sidebar (summary links) on the page - for now, we'd like every single page on the site (>300) to have this, and then for certain pages to be customised (a few links added/removed ...
1
vote
1answer
6k views

Disable Horizontal Scroll Bar on Navigation Web Part in SharePoint 2010

How do I disable the horizontal scroll bar on a web part (actually it's in zone 1 on a navigation blog page web part) in SharePoint 2010? I set the the length to 5.5 inches to get a vertical scroll ...
0
votes
2answers
808 views

How can I make a task list show different tasks for different groups?

I've added a Tasks web part to the homepage of a Sharepoint 2010 site and I want it to show "My Tasks" for some groups (e.g. the employees), "All Tasks" for others (e.g. the managers), and would like ...