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)

1
vote
2answers
211 views

Web Part Module Itens error 404

We have a WebPart that has a module with resources (images, css and js files). Locally it works perfectly when deploying from VisualStudio. In a testing server we're deploying the webpart via ...
4
votes
2answers
4k views

Trying to use an SPWeb object that has been closed or disposed and is no longer valid.

I debugged this code and it never throws me an exception, however after ALL code is executed I got this message Trying to use an SPWeb object that has been closed or disposed and is no longer valid. ...
1
vote
1answer
4k views

CAML Query to filter a list item based on comparing item[“Title”] to ascx label.text control?

"<Where><Eq><FieldRef Name='Title' /><Value Type='Text'>'Label1.Text'</Value> </Eq></Where>"; I have not run this and checked yet, simply because I ...
0
votes
1answer
440 views

What type of RSS feed does SharePoint 2007 want?

While trying to put an RSS reading web part into my SharePoint 2007 site, I used a random feed from the Web and it worked fine. I then created my own feed and pointed the web part to it and now the ...
7
votes
3answers
2k views

How to prevent a SharePoint web part from being crawled

We have a custom web part for our SharePoint 2007 farm that calls a very large report (lots of views and stored procs being called) that is used on hundreds of pages on team sites and MySites. We get ...
0
votes
3answers
7k views

Cannot connect to the Sharepoint Site from Visual Studio 2010

I'm new to Sharepoint. I'm trying to create a simple webpart using Visual Studio 2010 but when I try to validate my Sharepoint Server (both VS 2010 and Sharepoint are present in two different system - ...
0
votes
2answers
942 views

Web Parts Chrome Type is not Working

I am remotely connected to my clients sharepoint server 2010 standard using cisco vpn. I can see that the announcement list's webpart on our page has Title and Border which shows that chrome type is ...
0
votes
4answers
10k views

CAML Query to retrieve announcement items in descending order based on ID # - Not Working

spQuery.Query = " <OrderBy> <FieldRef Name='ID' Descending='True'/> </OrderBy> <Where> <Eq> <FieldRef Name='Title' /> <Value ...
1
vote
1answer
111 views

How can I include custom content with a form element in a page?

I have been trying to use the HTML Form Webpart and going into the Source Editor... Below if the form I am trying to paste in: <FORM onsubmit="return CheckForm()" method=post name=ttc ...
0
votes
1answer
2k views

Provision listview webpart on page layout using feature

I've deployed a custom page layout using a module in a feature, like this: <?xml version="1.0" encoding="utf-8"?> <Elements xmlns="http://schemas.microsoft.com/sharepoint/"> <Module ...
2
votes
1answer
363 views

Is it possible to update .Webpart file and reflect the change on all uses of a webpart

I have a webpart that is a modified XSLT list view webpart in SharePoint 2010. I exported the webpart as a file and uploaded it to the webpart gallery manually. If the user adds this webpart to ...
0
votes
1answer
275 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
215 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
490 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
282 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
772 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
84 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
634 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
547 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
230 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
145 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
960 views

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

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
340 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
33 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
1k 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
616 views

Page viewer webpart, applying style sheets?

Can i apply css style sheet to a page viewer webpart ?
1
vote
2answers
789 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
367 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
469 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
133 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
396 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
1k 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
68 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
985 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
2k 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 ...
0
votes
1answer
1k 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
517 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
2k 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
492 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
380 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
982 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
261 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
584 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
481 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
82 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
457 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
314 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
67 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 ...