SharePoint - 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
SharePoint
(1)
SPS
(1)
ASP.NET
(1)
  Brett Lonsdale replied...
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
  hth replied...
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
  Brett Lonsdale replied...
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
  Kiran Reddy replied...
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.
  Pankaj Sharma replied...
09-Oct-08 02:56 PM
Please share the information if anybody got anything on this.
help
Single Sign On to ASP.NET application SharePoint I’m recently assigned to create a link on our sharepoint site which opens up an ASP.NET 2.0 web application. Both our Sharepoint site and the ASP.NET 2.0 website use forms Authentication with membership provider. Both of them work perfectly
Share point Services ASP.NET error SharePoint Hello we have often this problem. If we connect to Sharepoint pages via browser we see this error message : This Windows SharePoint Services virtual server has not been configured for use with ASP.NET 2.0.50727.832. For more information, please refer to Knowledge Base article 894903 at I have tried to fix it by KB894903 but unsuccessfully. we are using Microsoft Office Sharepoint Portal Server 2003 SP2 SharePoint Portal Server Discussions Windows SharePoint Services (1) SharePoint (1) Office
How to incorportate ASP.NET Application with SPS 2003? SharePoint Hi All, I want to incorporate my ASP.NET Application into one of the SPS 2003 Site collection so that the URL won't change in the browser. Please guide me on how do I achieve that? Thanks, Shell SharePoint Portal Server Discussions Incorportate (1) Application (1) Incorporate (1) Collection (1) Browser (1) Guide (1
ASP .NET / Sharepoint APPs - PLESE HELP SharePoint Ok, I am lost. So I want to create an application I can use in sharepoint. I have two options (other than the web part route): 1. Use Visual Studio and create a C# -> Asp . Net web application. So I compile my application and am ready to use. But how do directory on the production server? 2. Use Visual Web Developer (express addition) to create an Asp. NEt web application. This is even more confusing to me becuase it only contains aspx
Inquiry installing ASP net 2.0 in a sharepoint portal server 2003 SharePoint Hi, I have a windows server 2003 with SharePoint Portal Server 2003 and ASP 1.1, the thing is that I need to install ASP net 2.0 in order to run some applications but Sharepoint portal server 2003 runs with ASP NET 1.1. So I'm a little afraid