Web parts are are the building blocks of Microsoft SharePoint web pages.
Questions tagged [web-parts]
1693 questions
6
votes
1 answer
How to display an image in a SharePoint 2010 Web Part
I would like to know how to display a local image in my SharePoint 2010 Web Part. I don't really know which url to write in the css.

Brian Roisentul
- 4,590
- 8
- 53
- 81
6
votes
2 answers
How to get all document libraries BUT Form Templates, Style, Customized Reports
I'm building a webpart for SharePoint 2010 to get all the document libraries with usefull info for the user. This means, docs that users uploaded, etc. I don't want to show libraries such as Form Templates, Style Library, Customized Reports,…

Brian Roisentul
- 4,590
- 8
- 53
- 81
6
votes
1 answer
How can I persist web part state from inside a client web part content page?
I have just set up and created by first ever SharePoint development effort: a project for a web part, to be hosted in a SharePoint Online instance (my Office 365 trial).
I have figured out how to use the List API to pull the content I am supposed…

ProfK
- 49,207
- 121
- 399
- 775
6
votes
2 answers
HTML divs can go outside browser window?
I was playing around with ASP.NET Web Parts which has a "drop down" div. It's all the way to the right of the page. When I click to bring it up, it goes off the window. Usually anything off the viewable area will trigger the bottom scrollbars. …

Nelson Rothermel
- 9,436
- 8
- 62
- 81
6
votes
3 answers
Using the razor engine in SharePoint 2013 Visual Web Part
I'm trying to make use of the razor engine in a SharePoint 2013 Web Part. This, I read, shouldn't be too difficult since SharePoint 2013 Visual Web Parts can be built using .NET Framework 4.0
I'm simply not sure of where to begin to do this. I've…

anpatel
- 1,952
- 4
- 19
- 36
6
votes
1 answer
How to auto login owa web part in sharepoint 2010
I am working on something like this sync e-mail outlook2010 and sharepoint2010 I am looking for a way to log in outlook web parts in sharepoint 2010 automatically using logged in sharepoint user is it possible in C#.. i want to get away from…

Mohamed Rozza
- 567
- 8
- 12
6
votes
3 answers
Web Part connections in site definitions
I have requirement of specifying web part connections in onet.xml. So when site is created using this site definition the said web parts are already connected and ready to use. Which properties I need to specify for that particular web parts in…
Prashant Patil
6
votes
4 answers
How can you have SharePoint Link Lists default to opening in a new window?
In SharePoint, it is easy to set up a List webpart consisting of Links to other documents, folders, sites, etc. Unfortunately, when clicking these links, the default behavior is for the page to open in the current browser window. That is, it does…

LunaCrescens
- 540
- 3
- 10
- 20
5
votes
4 answers
How to use jquery correctly in SharePoint Web Part - jquery doesn't always fire
I'm learning how to use jquery with SharePoint. My example draws a red box inside the Content Editor Web Part when a link is selected. My code works when the SharePoint page is in edit mode but not after I've left the page and returned in non edit…
Kevin
5
votes
1 answer
How to store the personalization setting of IGoogle component?
I use IGoogle component inettuts to make my portal more attractive and easy to use interface. The main problem I want to ask about is:
How to store the personalization setting, to make it the default when the user logs into the application…

Anyname Donotcare
- 11,113
- 66
- 219
- 392
5
votes
1 answer
Sharepoint project crashes when deploying
I got a lot of projects for Sharepoint which all work fine instead of one. This project can only deployed by one developer of our team, all other devs keep getting an exception when trying to deploy that solution (building that solution works).…

Ole Albers
- 8,715
- 10
- 73
- 166
5
votes
2 answers
Sharepoint: how can i find all the pages that host a particular web part?
As the question says - is there a way to determine which pages are including my web part?

nailitdown
- 7,868
- 11
- 36
- 37
5
votes
1 answer
how to write stsadm -deploysolution correctly? sharepoint webpart deploying
I got a help from other Question:
stsadm -o addsolution -filename {WSPFILENAME} stsadm -o deploysolution -name {WSPFILENAME} -url {SITEURL}
my WSP file is here:
C:\H\H\H.wsp
url:…

r.r
- 7,023
- 28
- 87
- 129
5
votes
1 answer
SharePoint 2010 - error reading list items "Cannot complete this action. Please try again."
I have a SharePoint 2010 Farm solution that deploys a list, and a web part that reads from that list. It actually does more than that, but I can't get past the "read the list" part.
I'm able to successfully query the list and get back the…

Mark
- 346
- 1
- 2
- 10
5
votes
1 answer
Webpart is in edit mode?
I have a webpart in a page and I need to know how I can determine if the page is currently in edit mode. For example: if(Page.IsInEditMode).
Any help?

Leonardo
- 10,737
- 10
- 62
- 155