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
1
vote
2answers
801 views

How to implement the visual web part into the MOSS 2007 site?

i have created the Visual web part for SP2010 site, What i need is i have implement it into this into MOSS 2007 site. Is MOSS2007 support visual web part,and how to do this???
0
votes
2answers
2k views

How do I find the ID of a web part?

I have a web part that saves preferences to an external database because they are used by an outside program. One of the key fields for the preferences is the ID of the web part so each web part ...
1
vote
1answer
309 views

Accidentally removed the List View web part from the Reusable Content popup - How can I restore it?

I was working on a project to provide Up Button functionality for the list view web part, and ran across this functionality in the Reusable Content popup. I opened reflector and set to work to reverse ...
0
votes
1answer
734 views

Is there a way to change the refresh time on the RSS Viewer Web Part?

I need to set the RSS Viewer Web Part to a shorter time. I would like to be able to get the Feed to change shortly (maybe every 10 min). This is for a News feed in an Intranet site and the posters ...
2
votes
1answer
154 views

How can I connect a custom user info web part to an image web part?

I have 2 web parts: SP2010 default image slideshow Custom userinfo from profile db I have user name (domain\username) in webpart 1 which I want to pass to webpart 2 to get user info at the same time ...
0
votes
1answer
110 views

What is the tag for web part description?

I would like to edit the font of the description in my RSS Viewer Web Part. What is the css tag for the description? I tried .description, which was provided from http://www.heathersolomon.com/...
5
votes
1answer
4k views

Check to see if a web part exists on a page using SPLimitedWebPartManager

In a feature I need to check if a part is already on the page. How can this be performed (programatically) (i.e. through a feature) thx
1
vote
2answers
586 views

DWP file is not updated in the web part gallery by the stsadm upgradesolution command

I am trying to update a DWP file in the web part gallery by using stsadm upgradesolution. Here is what I am doing: Created a web part, put it in feature, packaged it in solution by WSPBuilder, ...
5
votes
2answers
3k views

Difference between Webparts and user controls?

Difference between Webparts and user controls?
1
vote
1answer
2k views

Sharepoint Webpart custom properties get default values on server reboot

I have noticed that the custom properties of a webpart I developed return to their default values when I reboot my machine. Is that a normal behavior? are the properties saved as far as the server is ...
0
votes
2answers
969 views

Sharepoint 2010 missing webparts

I set up a sharepoint farm and everything works ok; but when I am trying to add new webparts to a webpart page I get only a small list. Like this: screenshot of german webparts If you compare this ...
0
votes
1answer
135 views

Searching a SharePoint 2007 list, which also returns matching substrings

I'm having issues with the provided Search WebParts. I'm currently using the "Text Filter" WebPart because it is the closest to what I need. The problem with that one is that it only searches through ...
2
votes
2answers
721 views

Deploy a visual web part developed with VS2010 to SharePoint 2007

I developed a simple webpart using the Visual Web Part template in Visual Studio 2010 and have been testing it within SharePoint 2010. I want to know if this web part could be deployed to SharePoint ...
0
votes
1answer
166 views

Group Alert feature required for WSS 3.0

In current web-part (http://advancedalert.codeplex.com/) there is no facility to remove the group alert or who is subscribed to the lisy. Also new members added to the group do not automatically get ...
1
vote
1answer
284 views

Web Part Page with Web Parts

I have a web part page (with 3 web parts; 1 webpart is the document library that the web part residing, other 2 is list dispay from the same site) in a document library. The web part page is in the ...
1
vote
4answers
300 views

What is something I should to to help me to Learning SharePoint?

I have a list of items I was told I should learn below. Can you tell me if there is one that I should remove and one I can add that will help me learn sharepoint backend development. I have been ...
1
vote
2answers
388 views

Creating aspx pages

Background: (tool used Sharepoint designer 2007) 1. I created a aspx page (using UI) that is inside a document library (content type is web part pages and a custom content type). 2. I then added 3 web ...
2
votes
3answers
1k views

Update Web Part in Custom Site Definition and created sites

I have a site definition with a custom web part, the projects (both the site definition and the web part) are part of a CI build which means the version numbers are incremented each build. The ...
2
votes
3answers
468 views

Want a Sharepoint (WSS 3.0) webpart to display server information

I want a way to display all internals server based information of WSS 3.0 like Hard disk space, RAM usage, etc in form of a Webpart....Is it possible? -saumil
2
votes
2answers
214 views

Documentation for using out of box web parts (2010)

Where can I find documentation on setting up/configuring some of the more obscure out of the box web parts (e.g. Sites in Category)?
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 ...
2
votes
2answers
349 views

Web parts documentation for SharePoint 2010

I can't seem to find the documentation for Web Part development on SharePoint 2010. I need all the details, connectable web parts, custom verbs etc and what has changed since MOSS 2007. Thanks.
0
votes
2answers
598 views

How do you resize the title of a webpart on a webpart page in SPF2010

Sharepoint Foundation 2010, I want to make the title of the webpart larger than the text inside the list so that it stands out. How can I do this? Thanks.
4
votes
3answers
12k views

How to get current web part GUID

Is there a way to find the GUID from within a web part programmatically? For example, if there were two of the same web part added to the same page, is it possible to find the GUID of each of them ...
2
votes
2answers
591 views

When to use CreateChildControls() vs. embedding in the ASPX

I'm developing a webpart for SharePoint 2007 and have seen several posts that advise to do all the creation of controls in the code-behind. I'm transitioning from Java J2EE development so I don't have ...
0
votes
1answer
181 views

Is there a way to -not- refresh the page when we click on a link in SharePoint Web part?

A few days ago I submitted this question to stackoverflow: https://stackoverflow.com/questions/3161708/sharepoints-new-folder-doesnt-ask-for-a-required-field I essentially have Web Part Connections ...
1
vote
3answers
267 views

List names on my Intranet homepage were changed to “Untitled[n]”

Suddenly, the name of various lists like Announcements, Suggestions etc. on my Homepage has changed to Untitled ‭[1]‬, Untitled ‭[2]‬ and so on... How could this happen? Please help!!
0
votes
3answers
2k views

Can I target .NET Framework 3.5 when creating a MOSS 2007 web part?

I'm creating a web part in Visual Studio 2008 that involves using the Open XML SDK 2.0. I'm getting an error saying I need to add a reference to the WindowsBase assembly. However, I can only add ...
2
votes
2answers
2k views

External database connection in web part

So, I have a web part that needs to connect to a different database other than sharepoint. This is a custom web part that I'm writing in VS, not something built with SPD. How can I connect to the ...
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 ...
5
votes
1answer
2k views

Deploy a web part to a page during feature activation within a Sandbox Solution

I've been hitting my head against a wall on this one for the last couple of days. I have a pretty simple requirement but I cant see how it can be achieved within a Sandboxed solution. I'm depressed ...
0
votes
1answer
1k views

WebPart not registered as safe

I have a webpart that is part of a larger solution, deployed as a WSP using WSPBuilder. I can see the SafeControl entry in the web.config and can see that the assembly has deployed to the GAC. The ...
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....
0
votes
3answers
334 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....
5
votes
4answers
1k views

Catch exception in web part, or let it bubble up?

I'm writing a web part for other sites to use in their SharePoint installation. In the logic of the web part I throw exceptions at certain failure points. I'm wondering whether it is a better ...
3
votes
3answers
1k views

problem deploying webpart on a farm

a customer has a problem deploying a webpart I developed for them on a farm. The webpart is packaged as a .WSP solution with WSPBuilder and it seems to work fine when deployed to a single server. ...
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 ...
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.
0
votes
1answer
468 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 ...
0
votes
1answer
998 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 ...
2
votes
2answers
711 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
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 ...
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
910 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
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 ...
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 ...