Connect webparts programmatically using SPConnectWebParts
If you wish to connect two webpart where you have webpart consumer and webpart provider object then you can use following idea to implement functionality. /// <summary> /// It connect web parts each others, if any, using consumer and provider objects /// siteWebParts object have all information like consumer,provider connection and mapping. /// You can […]
March 13, 2012
В·
Infoyen В·
No Comments
Tags: Add Web Part programmatically using SPLimitedWebPartManager, Connect webparts programmatically using SPConnectWebParts, Connecting Web Parts programmatically, Export Webpart programmatically using SPLimitedWebpartManager, MOSS, Moss 2007, Moss 2007 Tips & Tricks, SPLimitedWebpartManager.ExportWebPart, WebPartManager В· Posted in: MOSS, SharePoint
Export and import webparts programmatically
Requirement:- I have 1 site Where it has sharepoint page’s with some webparts. Due to business requirement; we need to export these webpart and import on other site page programmatically. Therefore I created a tool which first exports webparts (.webpart file) and metadata in xml format, then import web part on other site using xml […]
March 13, 2012
В·
Infoyen В·
4 Comments
Tags: Add Web Part programmatically using SPLimitedWebPartManager, Add Web Part to Page Programmatically, Connect webparts programmatically using SPConnectWebParts, Connecting Web Parts programmatically, Import WebPart programmatically using SPLimitedWebPartManager, MOSS, Moss 2007, Programmatically creating a QueryStringFilterWebPart, SharePoint, SPLimitedWebPartManager.AddWebPart():, WebPartManager В· Posted in: MOSS, SharePoint