Questions tagged [webpartpage]
23 questions
4
votes
1 answer
GetUsageData() in a web part returns null
I am trying to display some SharePoint usage data in a web part.
Here's my code:
SPSite spSiteCollection = new SPSite(myURL)
spSiteCollection.CatchAccessDeniedException = false;
SPWeb spWeb = spSiteCollection.OpenWeb();
DataTable dtResults = new…
Idriss Selhoum
2
votes
1 answer
Web Part Zone Title shows Untitled[0] in ASP.NET
I have a panel placed inside a webpart which holds a chart . The title of the webpart zone is Untitled[0],Untitled[1]....There is no title tag in the panel control or web part . Any one know how to solve this .

Ananthakumar Alwar
- 73
- 1
- 12
1
vote
2 answers
SharePoint 2010 WebPart Personalize Layout
I have a homepage on an Intranet. It has at 15+ webparts (news, weather, etc.) I want to allow the users to customize the page by moving the webparts around or deleting them. At present I don't let them see the ribbon at the top so they don't have…

ZombieCode
- 1,646
- 2
- 24
- 46
1
vote
1 answer
Adding description to WebPartPage when creating the page
I am following this (http://msdn.microsoft.com/en-us/library/ms450826.aspx) method to add a webpartpage (samplewpp.aspx) and it works. However, I need to add one line description as well. How?

Roti Makan Chula
- 11
- 1
1
vote
3 answers
How to get Site Icon to properly update in Sharepoint 2010 Web Part Page
I'm working on creating a reusable and extensible web application in SharePoint 2010. I've created a master page to apply across all pages in the site. However, whenever I create a web part page and navigate to it, the site icon does not display.…

Bill
- 11
- 1
- 3
1
vote
1 answer
Is this a sensible way to programatically replace content on a SharePoint Page?
I have broken up a humongous page into several "bite-size" chunks. I want to present them, one at a time, to the user. After one page, they click an HTML button ("Next") and the previous Web Part or Content Editor Web Part is replaced by the next…

B. Clay Shannon-B. Crow Raven
- 8,547
- 144
- 472
- 862
1
vote
6 answers
How to find missing web part?
Does anybody know how to find offending web part which causes this error ?
“A Web Part or Web Form Control on this Web Part Page cannot be displayed or imported because it is not registered on this site as safe.”
I have inherited an old SharePoint…

Leonidius
- 648
- 1
- 9
- 10
1
vote
0 answers
Adding an OOTB Web Part to an App for SharePoint
I'm attempting to just add an OOTB Web Part (actually to create a variation of a Search Page) in an App for SharePoint using an Office 365 Development Site for development but this happens with ANY OOTB Web Part. The default code when I create a…

Codesmith
- 177
- 1
- 8
1
vote
1 answer
Save web part configuration for a certain web part page
How can I save the configuration of a web part for a certain web part page in SharePoint?

kjv
- 11,047
- 34
- 101
- 140
1
vote
1 answer
Create Sharepoint 2010 Webpart page in C#
I want to programmatically create a Webpart page (.aspx file) for Sharepoint 2010. I already found this code snippet:
public static PublishingPage CreatePage(string fileName, string title)
{
PublishingWeb pWeb =…

C0dR
- 320
- 1
- 6
- 23
0
votes
1 answer
How to add a HTML Input to a SharePoint List?
I'm working on a Webpart in React (TS), but I have no idea, how to write my HTML input to the SP List.
My code from "Liste.tsx" below:
import { sp } from '@pnp/sp/presets/all';
public render(): React.ReactElement{
return(
0
votes
1 answer
How to add pages / web-part zones / web-parts programmatically in SharePoint online using PnP JS?
I have created pages then added web-part zones / web-parts programmatically using below function,
function addWebPart(webUrl, pageUrl,webPartXml,zoneId,zoneIndex, Success,Error){
var context = new SP.ClientContext(webUrl);
var web =…

BhattMeet
- 11
- 3
0
votes
1 answer
How to make HTML content inside a web part page searchable?
I'm trying to create a page in Office 365 SharePoint where I can add some simple HTML code to a web part section. I have successfully created the pages and made it look the way I want it to. However, I'm having issues getting the content of these…

ldubs1007
- 11
0
votes
1 answer
How to get object of PersonalizationProvider of WebParts in ASP.NET?
There is SqlPersonalizationProvider and I have also defined other CustomPersonalizationProvider In the page where I have multiple webparts, I need to have functionality to reset the state of Webparts to emply or delete the state.
There exists a…

Vishnu
- 2,135
- 2
- 30
- 51
0
votes
1 answer
Summary Link Web Part conflict with custom web part in SharePoint 2007/2010
I have a problem of getting Summary Link Web Part (SLWP) work correctly for ages.
There is no problem, if I add SLWP first to a page and add all links before I add a custom web part. However it doesn't work the other way, even adding a new link to…

Jay
- 43
- 1
- 11