Web parts are are the building blocks of Microsoft SharePoint web pages.
Questions tagged [web-parts]
1693 questions
10
votes
9 answers
sharepoint: Using a Content Editor Web Part this error occurred:"Cannot retrieve properties at this time."
I have a content editor web part. Whenever I edit the content and then click save, the following errors occurred:
"Cannot retrieve properties at this time."
"Cannot save your changes"
How do you fix this?
I tried googling it.. there are some…
Nikkho
9
votes
3 answers
WebBrowsable vs Personalizable in Web Parts
What is the difference between the attributes WebBrowsable and Personalizable in a Sharepoint 2010 web part?
e.g.
[Personalizable(), WebBrowsable]
public string IconURL { get; set; }
vs
[WebBrowsable]
public string IconURL { get; set; }
MSDN gives…

Darbio
- 11,286
- 12
- 60
- 100
9
votes
2 answers
How do I make a webpart's settings configurable in Sharepoint?
I am using SharePoint Server 2007 Enterprise with Windows Server 2008 Enterprise. I am publishing a portal template.
I want to develop a WebPart and make some settings configurable (just like we can configure parameters for a console application…

George2
- 44,761
- 110
- 317
- 455
9
votes
4 answers
Is there a reference for the SharePoint XSLT extension functions?
There are a couple of different .NET XSLT functions that I see used in the out of the box SharePoint web parts (RSS Viewer and Data View web part).

Eric Schoonover
- 47,184
- 49
- 157
- 202
8
votes
4 answers
copy webpart page (aspx page) with web parts
I have a web part page "DocLib1.aspx" in document library "DobLib1" and it has few webparts.
How can I take the same web part page and copy it to other document libraries (there are about 50+ document libraries). The web part page is named after the…

Sally Mckentire
- 81
- 1
- 1
- 3
8
votes
3 answers
Attribute not valid on declaration type
I have the following code but I am getting the following compile errors:
Attribute 'WebPartStorage' is not valid on this declaration type. It is only valid on 'property, indexer' declarations.
AND
Attribute 'FriendlyName' is not valid on this…

Rob
- 1,163
- 2
- 18
- 28
8
votes
10 answers
Develop SharePoint web parts in ASP.NET
I have been asked to develop some usercontrols in ASP.NET that will at a later point be pulled into a SharePoint site as web parts. I am new to SharePoint and will not have access to a SharePoint server during the time I need to prototype these…

TheZenker
- 1,710
- 1
- 16
- 29
7
votes
4 answers
Uninstall Webpart from Sharepoint 2010
How can I uninstall a Custom Webpart from Sharepoint Server 2010?
Thanks

Dr. No
- 1,306
- 5
- 28
- 57
7
votes
2 answers
How does one get all child terms of a SharePoint term in C#?
I am writing a webpart for SharePoint 2010 that recuperates the latest page of a certain (custom) type, according to publishing date. It only takes into account pages tagged with a specified term. I would like it to be able to also do so with pages…

Tom Macdonald
- 6,433
- 7
- 39
- 59
7
votes
2 answers
How to programmatically update content in a SharePoint Web Part?
Does anybody know how to programmatically update the content of any of the standard SharePoint v3 Web Parts?
As an example, put a Link Summary Web Part on a page. Add some links to it. Now, how can I update this information using the WSS API?
I…

Magnus Johansson
- 28,010
- 19
- 106
- 164
7
votes
4 answers
"List Tools" tab is no longer available after adding webpart to the page
in SharePoint 2010 I have added my webpart above list (standard list or documents library list - it doesn't matter). After this "List Tools" tab is not visible. After some digging I have found, that problem exists even if I add one of the standard…

Marcin Robaszyński
- 772
- 1
- 11
- 21
7
votes
5 answers
Overriding Sharepoint CSS class names in a webpart
I've been searching high and low for a satisfactory answer to this and failed. I hope StackOverflow can deliver for me!
I am using SharePoint Foundation 2010 (my first real attempt to deep dive into SharePoint), with (among other things) a custom…

Randolpho
- 55,384
- 17
- 145
- 179
7
votes
3 answers
Webpart broken after solution redeploy
I have deployed and then redeployed a .wsp on a Sharepoint 2010 server (the solution was developed on another 2010 server). The solution contains 2 web parts.
After retracting and removing the old solution, I added and deployed the same solution…

Diana
- 101
- 2
- 5
7
votes
2 answers
Dynamic SharePoint web part width and height
I am trying to dynamically adjust the width and height of a web part in a SharePoint web part page so that it fills up the entire available space. It appears that there is no way to choose a percentage for width and height from the web part property…
Jason
6
votes
4 answers
Properly implement a webpart with postback?
What I'm trying to do is to create a webpart that has a textbox where you can set the value of a literal (h2) on the webpart and a "save" button that posts back and then sets the literal accordingly. This works with one huge caveat; when the page…

noocyte
- 2,484
- 5
- 29
- 44