Questions tagged [web-part]

Web parts are ASP.NET controls that can be added to web part zones. They are generally distributed through the deployment of .WSP files. Pre-2013, they could be developed off the hosting server. With 2013, Web Parts for the most part have to be developed on the hosting server for proper library inclusion.

Filter by
Sorted by
Tagged with
0
votes
2answers
712 views

Rendering of WebPartZone

How can I prevent a WebPartZone from wrapping with <table>? For web accessibility we don't want WebParts to be wrapped in tables.
2
votes
4answers
10k views

Organization Browser in SharePoint 2010 empty unless used on My Site

I have been trying to get the organization browser web part to work on a publishing site and I can't get the web part to display any users. When I look at the organization browser web part on the my ...
0
votes
3answers
2k views

Custom Webpart doesn't show up in Sharepoint 2010 after deploying from VS2010

Full disclosure: Sharepoint development noob. I currently have 3 custom web parts built in an SP solution in VS2010. I build and deploy my project out to our local Sharepoint dev box. However, after ...
1
vote
2answers
1k views

Filter WebPart where customer number = current document library name

I have a web part page in a document library (http://mysitecoll.com/subsite1/Cust001/cust001.aspx) I have added web part to display list from the top level. It works and displays all the items in a ...
0
votes
3answers
343 views

Why is the Page property in my web part null?

I am trying to include an Image control within my web part. In EnsureChildControls I have the following code: Image image = new Image(); image.ImageUrl = this.Page.ClientScript.GetWebResourceUrl(this....
0
votes
1answer
469 views

My Calendar Webpart is not displaying the local time

My Calendar webpart (OOB) is showing US time irrespective of the customer location, is that expected? if so, how it could be resolved ? Note: Our servers are in US however customers are in throughout ...
1
vote
3answers
2k views

Deploy a Data View Web Part to any SharePoint site

I followed this url to create webpart that reads list from the top site. How to use SharePoint Designer to display list data from subwebs It worked great. I can even export the custom web parts (wp ...
6
votes
1answer
9k views

Get the current UI language from a webpart

How can I get the selected language in the screenshot, from inside of a webpart? alt text http://thomasstock.net/currentlanguage.png I'm using SharePoint 2010. My webpart is a "visual web part" ...
-2
votes
2answers
159 views

Full webpart SharePoint 2007 [closed]

How can I create a full webpart , that i can import in SharePoint 2007.
0
votes
1answer
999 views

How to deploy a web part that uses AjaxControlToolkit with WSPBuilder?

I'm trying to deploy a webpart that is an ASP.NET user control that uses AjaxControlToolkit via WSPBuilder, with not much success. There seems to be a lot of web.config edits that need to be done in ...
1
vote
4answers
192 views

What web parts do you recommend or consider essential?

Although we internally manage to get away with the Data View Web Part for most cases, what other web parts have you come across which you may consider essential for MOSS or WSS? Before you answer ...
0
votes
4answers
434 views

Formatting controls in web parts

If you have multiple controls in your webpart how do you format them 'nicely' so they don't all appear in one horizontal line? So you would have something like CompanyName: First Name: Last Name: ...
2
votes
2answers
1k views

Using WebClient Class inside a Visual Web Part

I am trying to use the WebClient Class inside a Visual Web Part (via a User Control code behind class). When I want to run the web part I always get: Asynchronous operations are not allowed in ...
1
vote
1answer
85 views

web part for list

I can go to Edit > Add Web Part > Lists and Libraries > Pick a list "My Customer List" and wala it works. The first column in the "My Customer List" is the Customer ID "Customer_00N" or so forth. ...
1
vote
1answer
917 views

Is SharePoint's ListViewXML syntax based on a standard?

Recently I had to change a ListView webpart and noticed the syntax that renders the HTML is not XSLT. Is this syntax documented somewhere? Example, <IfEqual> <Expr1> ...
1
vote
3answers
678 views

How can I create a reusable web part for many customers?

(Any suggestions or good link related to this would help) I have 120 customers in a list called "CustomerList". Each one of this customer has unique document library that matches their title. Goal ...
1
vote
2answers
335 views

Adding HTML content from a list into a Web Part

I have a page which is created from a Page Layout. On the right side I need to have a Web Part which displays promotions e.g. html content. This html content comes from a list. Whenever I change the ...
2
votes
1answer
352 views

How to deploy to path returned by GetClassResourcePath?

I'm using VS 2010 to create a SP 2010 web part. I want to include my images, css files and js files in the VS project, and have them be deployed to the correct location. My understanding is that I ...
2
votes
2answers
713 views

Best approach to adding a web part to an existing page in multiple environments

If you’ve got an existing page in each environment e.g. default.aspx and want to add a web part and promote to each environment what is the best approach? Create a WSP with a Feature Receiver and add ...
1
vote
1answer
491 views

Problem with DataView web part and Server-side script datasource from RSS

I've created a DataView web part and feed it with data from a public RSS feed using server-side script as a data source. Everything works great in Sharepoint Designer but in the browser I get the ...
1
vote
2answers
384 views

Reusing the html trim functionality of the annoucements web part

When you post a long annoucement the webpart trims it to the first two lines but preserves any links in the html. I'm trying to create a custom webpart that trims long text and want to reuse this ...
4
votes
2answers
204 views

How can I create a web part for add update and delete operations?

I'm new to SharePoint and I'm working with web parts. I have learned how to create a basic webpart and how to deploy it...but I don't have any ideas about how to create a web part that adds updates ...
2
votes
1answer
413 views

Fixing several Instances of the Same Web Part to a Web Part Page?

My problem precisely and concisely is that I developed a simple web part to display OOTB Surveys on the page (Which means user can answer and submit the survey through my web part). It works correctly....
3
votes
4answers
786 views

Web part filtering

For our web site we would like to be able to have a combo box which the end user selects a “Province/State” from the drop down menu. Depending on which “Province/State” he selects, some web parts will ...
1
vote
2answers
343 views

Webpart store information in lists or databse?

I am going to create a web part that are going to replace an application that we currently are using. The application is basically used to query information from a database. The Database consist of ...
4
votes
2answers
1k views

Unable to add selected webpart(s) [closed]

I've created a Custom List ('Tooltips') in SharePoint. After this I used SPSource to reverse engineer the list into a feature. After installing and activating this feature, I want to add this list in ...
1
vote
2answers
148 views

Connecting V2 and V3 web parts results in a null reference at the consumer

I'm trying to interact with a bunch of third-party web parts written using the V2 Connections API. The interface I'm implementing is IWebPartRow (V3), and as I understand it, SharePoint 2007 has built-...
5
votes
5answers
5k views

How to validate Web Part property value?

A custom web part has custom web part properties. I would like to validate with custom server side code when user changes property value (or when properties are bing saved). Is that possible? Can I ...
3
votes
3answers
3k views

Finding the Current User login in a Content Query Web Part?

I have the unique requirement of needing to get the current user's id (domain\logon) for use within a Content Query Web Part. If no documents are retrieved with the CQWP I need to craft a custom url ...
2
votes
2answers
2k views

Web Part to Show Libraries and Contents?

Is it possible from the MOSS 2007 OOTB web parts with no custom code of any sort to create a view of all document libraries on a given site expanded to show all folders and documents within it? ...
3
votes
4answers
3k views

Problem debugging web part on SharePoint 2010 beta and Visual Studio 2010 beta

I have created a "Hello World" web part. When I pressed F5 in Visual Studio 2010, I got the following error. I have already got Microsoft SharePoint Foundation User Code Service started. Can anyone ...
4
votes
2answers
722 views

Can I create a connected web part using Silverlight in SharePoint 2007?

Currently, I have a connected web part that consumes a SharePoint list and uses the data to add locations to a Google Map control. What I'd like to do is use the Bing Maps Silverlight control and use ...
4
votes
4answers
4k views

How to develop “Form Builder” web part?

I want a Form Builder web part. This web part would create basic forms dynamically on the fly by drag-and-drop controls. These forms would send the form values as an email and/or store information in ...
3
votes
2answers
2k views

Not able to move web parts from the edit page view

I just completed work on a Publishing Site collection for MOSS 2007 that is using a custom master page that I developed. The stylesheet that I am using holds all the overrides of the core.css. This ...
2
votes
2answers
1k views

Remove column header on SharePoint 2007 list webpart in Team Site

I have a list on a Team Site-based (customised site definition) site collection. I want display its contents on the front page of the site in a web part with the list title and one field only in the ...
0
votes
1answer
1k views

Hide web part using SPLimitedWebPartManager

I'm trying to make a web part that is managing other web parts in the solution. I need it to be able to hide other web parts based on user input. Since I can't use connections I'm trying to do this ...
3
votes
3answers
6k views

Password management web parts? [closed]

Does anyone of you know some webpart providers. I am desperately looking for a SharePoint webpart which can do following. change password lost password recovery (e-mail) change password reminder (e-...
3
votes
1answer
3k views

Using the Search Paging Web Part

This is my first time working with the search components of SharePoint in much detail so any advice would be helpful here. I have a custom search results page created to match our corporate intranet (...
5
votes
2answers
757 views

Web Parts for both 2007 & 2010

I'm curious if anyone has seen any guidance/best practices on developing web parts that can work for both SP2007 & SP2010 with minimal conversion? They wouldn't take advantage of any new 2010 ...
4
votes
1answer
725 views

Developing WebParts for SP 2007 and SP 2010

We are currently working on a project where the first release will be in 2007 and the next release will be in 2010. In previous projects we have created webparts using user controls and defining ...
2
votes
1answer
244 views

Is there a comprehensive list of all of the out of the box web parts that are connectable?

There is very little information available on connecting web parts on a web part page. This seems to be too advanced a topic for most of the end user resources. On the other hand, it's not a developer ...
2
votes
1answer
205 views

Remove problem web part from my site page

How can I remove a problematic web part from a customised my site page? The web part is redirecting me to another site before I have chance to remove it
3
votes
2answers
3k views

Web Part error for preloaded web part zone

SharePoint 2007 Enterprise, SP2. I am getting a strange error (found in the ULS logs, Google reports no hits on the message itself) when trying to upload a page with a webpart preloaded in a zone: ...
2
votes
3answers
550 views

Any problems using Smartparts to host ASP.NET user controls directly in SharePoint?

I am thinking about using SmartParts (http://www.codeplex.com/smartpart) to directly Host ASP.NET user controls in SharePoint. This needs however that I manually copy all user controls to all WFE ...
1
vote
4answers
3k views

Changing WebPartZone properties in code

Here is the problem: using SPD is easy to change properties to not allow users to close / minimize webparts from a wp zone: webpartzone edit properties http://img34.imageshack.us/img34/3389/...
2
votes
4answers
3k views

AJAX ModalPopupExtender in SharePoint 2007 Web Part

I am trying to get an AJAX ModalPopupExtender to work in a SharePoint web part but I'm not having any luck at all. I thought it might be something else in my web part causing it so I've created a ...
-1
votes
3answers
2k views

convert asp.net code to WebPart code issue [duplicate]

Possible Duplicate: How to use JavaScript and CSS in a web part? I am using SharePoint Server 2007 Enterprise with Windows Server 2008 Enterprise. I am developing using VSTS 2008 + C# + .Net 3.5 +...
2
votes
3answers
2k views

Problem with SPGridView and SPGridViewRow.FindControl

In a SharePoint webpart I am displaying an SPGridView. The SPGridView control is inside an Ajax updatepanel and is bound to a datatable in the code. The columns for the gridview are created mostly as ...
1
vote
2answers
2k views

tab control webpart?

I am using SharePoint Server 2007 Enterprise with Windows Server 2008 Enterprise. I am developing using VSTS 2008 + C# + .Net 3.5 + ASP.Net. I want to develop a WebPart, like a tab based control, ...
2
votes
2answers
2k views

How to make a web part configurable?

I am using SharePoint Server 2007 Enterprise with Windows Server 2008 Enterprise. I am using publishing portal template. I am developing using VSTS 2008 + C# + .Net 3.5. I want to develop a WebPart ...