webpartpage

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? ...

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 DataTable(); dtResults = spWeb.GetUsageData(SPUsageReportType.url, SPUsagePeriodType.lastM...

Sharepoint Custom List code-behind not invoked on a embedded page

I have written a custom list in sharepoint, with the onPreRender method populating the list via a webservice. The list needs to stay updated everytime it is rendered. When the list is viewed via the Lists-> MyList , the allitems.aspx is called and my code behind (a WebpartPage) gets called and the list is updated. But if i embed the li...

How to: Add custom Web Part Page in SharePoint 2007?

Hi, I would like to have a custom web part page in SharePoint 2007. I have an application that uses javascript to popup a new window with a web part page. Currently this web part page inherits the look and feel of the site (the default.master). I would like a web part page that i stripped down so that it is almost empty (I guess I still...

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 2003 portal site which uses custom web parts. I know what this error means. I also know ...

Summary Link Web Part conflict with custom web part in SharePoint 2007/2010

Hello 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 SLWP is not possible after the custom web part is added. The new links do appear in...