Cross Page Connections in SPS 2007

Asked By KiG
12-Apr-07 08:18 AM
Cross Page Connection in SPS 2007
===============================
We are creating a web site using SharePoint 2007 technology. This site is
based on a number of web parts, which has to communicate with each other
cross page. As of now we are using SharePoint 2003 technologies to
establish communication between the web parts.
We have used the example in the following link:

http://msdn2.microsoft.com/en-us/library/ms442673.aspx


Microsoft has declared this method to communicate obsolete and it is to our
knowledge not implemented in SharePoint 2007 asp.net 2.0 web parts. Instead
SP 2007 offers a property based solution, but again to our knowledge this
does not work cross page.


So our question to you is: Can you please describe the correct way to
implement a cross page connection in SPS 2007?


If we have to use the method described in the link above, perhaps you have
the answer to some difficulties we have encountered.

We have a provider web part with an IParameterInProvider and a consumer
with an IParameterInConsumer. In our attempt to establish the cross page
connection in the SharePoint Designer, the provider recognizes and accepts
the consumer, and the connection is established. As the last step the SP
Designer requests that the provide page and the consumer page must be saved
in order to make the connection work but only the provider connection has
been established. This means that the provider knows it is connected and
the connection is triggered and the redirect to the consumer is made with a
transfer of the parameters, but the consumer never recognizes the provider
and does not consumes the parameters

Thanks in advance for any help

When you create your Web Parts, use the .SharePoint.WebPartPages.

Asked By Brett Lonsdale
12-Apr-07 09:29 AM
When you create your Web Parts, use the
Microsoft.SharePoint.WebPartPages.WebPart class instead of the
System.Web.UI.Webcontrols.WebPart class.  This supports advanced connections
as were used in WSS v2.

Brett

Hi I have the same issue as KIG mentiones and I am using .SharePoint.

Asked By hth
18-Apr-07 04:44 AM
Hi I have the same issue as KIG mentiones and I am using Microsoft.SharePoint.WebPartPages.WebPart but it does not work. Is there something that should be set up in the policy files?



I have created a blank site with the sample from http://msdn2.microsoft.com/en-us/library/microsoft.sharepoint.webpartpages.communication.iparametersinconsumer.aspx



and



http://msdn2.microsoft.com/en-us/library/ms442673.aspx



but it does not work.



/hth

I haven't tried this, and maybe you already know, but if you use the .

Asked By Brett Lonsdale
23-May-07 09:38 AM
I haven't tried this, and maybe you already know, but if you use the
Microsoft.SharePoint.WebControls.WebPartPages.WebPArt class instead of the
ASP.NET 2.0 WebPart class to create web parts, you can go across pages.

Brett

www.brettlonsdale.com
www.combined-knowledge.com
www.bdcmetaman.com
Cross Page Connection
Asked By Kiran Reddy
17-Sep-08 07:50 AM
Hi,
Can i get the code snippets or guidelines to achiev the Cross page connections. i am missing something in my code to achieve the cross page connections.
Cross Page Connection
Asked By Pankaj Sharma
09-Oct-08 02:56 PM
Please share the information if anybody got anything on this.
Post Question To EggHeadCafe