search
Japanese Chinese Nederlands Espanol Italiano Deutsch Francais Twitter Rss Feeds
SharePoint GroupsView
Sharepoint Design_And_Customization
Sharepoint Development_And_Programming
Sharepoint General
Sharepoint Portalserver
Sharepoint Portalserver Development
Sharepoint Setup_And_Administration
Sharepoint Windowsservices
Sharepoint Windowsservices Development

Group SummariesView
.NET Framework
Access
BizTalk
Certifications
CRM
DDK
Exchange Server
FoxPro
French
French .NET
Games
German
German .NET
Graphic Design
IIS
Internet
ISA Server
Italian
Italian .NET
Maps
MCIS
Miscellaneous
Mobile Application Development
Money
MSN
Networking
Office
Ops Mgr
Publisher
Security
SharePoint
Small Business
Spanish
Spanish .NET
SQL Server
Systems Management Server
Transaction Server
Virtual PC / Virtual Server
Visual Studio
Win32
Windows 2000
Windows 2003 Server
Windows 7
Windows Live
Windows Media
Windows Update
Windows Vista
Windows XP
 

View All Microsoft Sharepoint Portalserver Development Posts  Ask A New Question 

Cross Page Connections in SPS 2007 - KiG

Thursday, April 12, 2007 8: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
reply
 

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

Thursday, April 12, 2007 9: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
reply

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

Wednesday, April 18, 2007 4: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
reply

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

Wednesday, May 23, 2007 9: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
reply

Cross Page Connection - Kiran Reddy

Wednesday, September 17, 2008 7: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.
reply

Cross Page Connection - Pankaj Sharma

Thursday, October 09, 2008 2:56 PM

Please share the information if anybody got anything on this.
reply
 
 

Previous Microsoft Sharepoint Portalserver Development conversation.