Web parts are are the building blocks of Microsoft SharePoint web pages.
Questions tagged [web-parts]
1693 questions
0
votes
0 answers
web part wsp package including application page
Good day,
i am having trouble deploying a web part and application page in a wsp package.
I have developed a custom web part and the solution has a application page. When using Visual studio to deploy the solution, both are deployed, but then i…

Koki Portable Nkanyane
- 41
- 1
- 2
- 10
0
votes
2 answers
how to trigger page refresh
I am developing a webpart using VSTS 2008 + C# + .Net 3.5 + IIS 7.0 + ASP.Net. I want to refresh the whole page in my WebPart code, refresh I mean the same effect when user press F5 for browser.
I did not find a solution yet, any ideas?

George2
- 44,761
- 110
- 317
- 455
0
votes
1 answer
no style library in SharePoint site collection, can't reference XSL file
I'm trying to follow this tutorial right here
https://www.nothingbutsharepoint.com/sites/eusp/Pages/SharePoint-Integrate-a-Slider-with-the-Content-Query-Web-Part-Part-3-Integration-with-the-CQWP.aspx
to put a sliding carousel on my sharepoint site,…

Un Known
- 179
- 1
- 3
- 15
0
votes
1 answer
Adding ReportViewerWebPart to a page programmatically
I am new to Sharepoint. I need to know the best way to add a ReportViewWebPart to a page through C# code behind.
I have tried accessing the web part from WebPartCatalog. It leads me to the NullReferenceException.
Then I tried by creating instance…

Naren
- 1,300
- 14
- 32
0
votes
1 answer
Hiding a SharePoint Web Part from code behind
I wanted to hide a web part when there are no results in that web part.
Could anyone help me how to do this in SharePoint?

Carol
- 67
- 11
0
votes
1 answer
web part not shown in sharepoint team site
I have a simple project where I am creating a label in Visual Studio 2012 and wrote in the page load function label.text="welcome to sharpoint team site".
When the site opened, I didn't find the label text. I tried to debug, but I don't know where…
0
votes
1 answer
Problems creating a visual web part to be deployed onto SharePoint
Hi I am new to C# and I am trying to implement an example with relation to this website:
http://www.devmanuals.com/tutorials/ms/aspdotnet/dropdownlist.html
What I have to do is to create web part & deploy it onto sharepoint:
Code:
<%@ Page Title=""…

user2445971
- 77
- 1
- 11
0
votes
2 answers
Hide WSS 3.0 Webpart Using JavaScript
I am using WSS 3.0 in my application. I am displaying a List as a DataView Webpart. My objective here is to make this webpart visible to a selected group of individuals. As there is no option for Target Audience in WSS 3.0, I went to edit…

Jzf
- 90
- 2
- 9
0
votes
1 answer
Add an existing WebPart Using the Sharepoint client object Model
My knowledge of the Client Object model is fairly limited, although I have been able to remove and move existing web-parts on a particular page. But I'm now struggling to find and then add a custom web part programmatically using the SharePoint…

Paul
- 1,103
- 1
- 13
- 18
0
votes
1 answer
sharepoint solution won't deploy
I'm trying to deploy a SharePoint 2010 solution to our production environment, after starting the deployment process the deployment status keeps saying "Deploying".
At first I thought that the Timer jobs cache was clogging up, but after cleaning the…

Perseas
- 3
- 3
0
votes
2 answers
Deploy Webparts Using Script
We have custom web parts developed by a developer and deployed to customer sites (dedicated site collections) using a solution. Problem is, when we update a web part, the changes don't take effect in existing customer sites (or at least that is my…

Paul Riker
- 785
- 2
- 10
- 30
0
votes
0 answers
What permissions does a user need in sharepoint to download silverlight xap?
I've created a silverlight webpart using visual studio 2012 in sharepoint 2013.
The xap file has been deployed to /SiteAssets/MySilverlightProject/SilverlightWebPart1/silverlightControl.xap
Now, it works fine for site collection administrator but…

mr-ma
- 199
- 13
0
votes
0 answers
How to figure out browser scrolling issue
I am developing a web part within Sharepoint that makes heavy use of 3rd party web services.
In my page, I have a view element (div#act1_show) that is collapsed. When I click on the expand button, the data is shown. No problem there.
The data of…

Eric
- 1,182
- 2
- 15
- 25
0
votes
2 answers
Reading from a blog in a custom web part using SharePoint 2013
Does anyone know if there is a way to access blog posts in a custom web part using SharePoint 2013? I've accessed a list like this:
SPSite site = new SPSite("http://site/sites/publish/Lists");
SPWeb web = site.OpenWeb();
SPList list =…

Fenoec
- 179
- 2
- 8
0
votes
1 answer
SharePoint Web Part: rendering according to user selection
I am writing a SharePoint web part that interacts with a SQL database, allowing users to set a few parameters with some dropdownlists and pull the record for a given customer.
I would like for one of three particular HTML tables to be displayed once…

Geo Ego
- 1,315
- 7
- 27
- 53